Inserting videos
This section describes how to insert a video and make sure the user viewed it.
Inserting videos
To add a video file to the task interface, use the view.video component. In the url
property, specify a direct link to the file or component that returns the link. To use the link from the input data, use the data.input component.
If you want to add several videos to a page, see the examples in Comparing video clips.
Note. You can add media files from your own server, Yandex.Disk, or a cloud storage like Yandex.Cloud, Google Cloud, or Amazon AWS.
Make sure that the user watched the video
To make sure that the user played the video, in the
validation
property use the condition.played
component.To make sure that the user viewed the video completely, in the
validation
property use the condition.played-fully
component.