PlayButton Op

PlayButton

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.


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


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 (booleanNumber)
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
renameHtml.PlayButton renamed to Ops.Html.Utils.PlayButtonuser avatarpandur - 2024-12-16 13:43