action.play-pause

This component controls audio or video playback. It stops playback in progress or starts if it is stopped.

For example, this component will allow you to play two videos simultaneously.

View example in sandbox.

You can also stop or start playback for some event (plugin. trigger) or by pressing the hotkey (plugin.hotkeys).

View example in the sandbox.

Component properties

NameTypeDescription
type*"action.play-pause"

Set component type

viewref

Points to the component that plays audio or video.