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.
You can add video files from your own server or cloud storage, such as Yandex.Cloud, Google Cloud, Amazon AWS, and others.
Restriction. You can't upload videos from Yandex.Disk.
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.