You can add media files (audio files, videos, images) from your own server, a cloud storage like Google Cloud, Amazon AWS, or Yandex Cloud.
Unlike other components, layout.side-by-side has options allowing you to hide or display any of the elements in
Instead of layout.side-by-side, you can use other components, for example:
view.list: A list of any elements, vertical or horizontal.
You can sync playback and pause for both videos.View example
You can also trigger playback using a hotkey. The button's shortcut will be shown on the button label.
Use plugin.hotkeys for this. To assign a shortcut to the button, do the same thing with the shortcut.
To call the same action from different parts of the code, put it in a separate variable inside
vars. Then reference this variable using the
$ref structure. For more information, see Reuse code.
In the examples below, you can add as many video components as you like using the
If you want to add multiple videos that a Toloker doesn't have to view at the same time, position them vertically using the view.list component. To make sure that the response selection buttons don't get lost, use the layout.sidebar component.View example Contact support
Last updated: August 2, 2023