beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

PlayButton Op

Ops.Html.PlayButton


PlayButton
Namespace: Ops.Html

Op author: pandur

shows a playbutton for forcing a simple user interaction


after the play button is pressed, it will disappear and from then continue triggering the next ops.

audiocontext.resume() is executed when clicking.



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 (Number)
Clicked Trigger (Trigger)
Caught a mistake or want to contribute to the documentation?

Edit Documentation 

PlayButton Example

Open Example In Editor

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
renameOps.Patch.PlayButton renamed to Ops.Html.PlayButton
2023-03-08 - pandur