PlayButton Op

PlayButton

shows a playbutton for forcing a simple user interaction


<p>after the play button is pressed, it will disappear and from then continue triggering the next ops.</p> <p><code>audiocontext.resume()</code> is executed when clicking.</p>


Full Name
  • Ops.Html.PlayButton
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


INPUT PORTS


Trigger (Trigger)
Only if Audio Suspended (Number:

<i>boolean</i>

)

<p>only show play button if audiocontext needs a user interaction (when audiocontext is suspended)</p>

Reset (Trigger)
Style Outer (String)
Style Inner (String)
Active (Number:

<i>boolean</i>

)

OUTPUT PORTS


Next (Trigger)
Not Clicked (Trigger)
Audiocontext State (String)
Element (Object)
Clicked (

<i>boolean</i>

Number)

Clicked Trigger (Trigger)

Patches using PlayButton

  • Examples
  • Public
  • My Patches

Changelog


added: will resume audiocontext when triggereduser avatarpandur - 2019-03-28 14:56
added: option to not show up when audiocontext is already runninguser avatarpandur - 2019-03-28 14:57
added: option to not show up when audiocontext is already runninguser avatarpandur - 2019-03-28 14:57
renameOps.Patch.PlayButton renamed to Ops.Html.PlayButtonuser avatarpandur - 2023-03-08 09:50