Toloka documentation

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.

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

Component properties

Name

Type

Description

type*

"action.play-pause"

Set component type

view

ref

Points to the component that plays audio or video.