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.
Full Name
- Ops.Html.PlayButton
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
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)
Patches using PlayButton
Changelog
added: will resume audiocontext when triggered | pandur - 2019-03-28 14:56 | |
added: option to not show up when audiocontext is already running | pandur - 2019-03-28 14:57 | |
added: option to not show up when audiocontext is already running | pandur - 2019-03-28 14:57 | |
rename | Ops.Patch.PlayButton renamed to Ops.Html.PlayButton | pandur - 2023-03-08 09:50 |