shows a playbutton for forcing a simple user interaction
Summary (oneliner)
after the play button is pressed, it will disappear and from then continue triggering the next ops.
audiocontext.resume()
is executed when clicking.
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Caniuse query
Inputs
Trigger (Trigger)
Only if Audio Suspended (boolean /Number)
only show play button if audiocontext needs a user interaction (when audiocontext is suspended)
Reset (Trigger)
Style Outer (String)
Style Inner (String)
Active (boolean /Number)
Outputs
Next (Trigger)
Not Clicked (Trigger)
Audiocontext State (String)
Element (Object)
Clicked (boolean Number)
Clicked Trigger (Trigger)
Patches using PlayButton
Changelog
added: will resume audiocontext when triggered 2019-03-28 - pandur | |
added: option to not show up when audiocontext is already running 2019-03-28 - pandur | |
added: option to not show up when audiocontext is already running 2019-03-28 - pandur | |
rename | Ops.Patch.PlayButton renamed to Ops.Html.PlayButton 2023-03-08 - pandur |