PlayButton Op
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.
Edit Documentation
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Caniuse query
Example Patch PlayButton Example
INPUT PORTS
Trigger (Trigger)
Only if Audio Suspended (Number:boolean )
only show play button if audiocontext needs a user interaction (when audiocontext is suspended)
Reset (Trigger)
Style Outer (String)
Style Inner (String)
Active (Number:boolean )
OUTPUT PORTS
Next (Trigger)
Not Clicked (Trigger)
Audiocontext State (String)
Element (Object)
Clicked (boolean Number)
Clicked Trigger (Trigger)
Usages of PlayButton
Changelog
added: will resume audiocontext when triggered | pandur - 2019-03-28 | |
added: option to not show up when audiocontext is already running | pandur - 2019-03-28 | |
added: option to not show up when audiocontext is already running | pandur - 2019-03-28 | |
rename | Ops.Patch.PlayButton renamed to Ops.Html.PlayButton | pandur - 2023-03-08 |