Inserting videos

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.

View example in the sandbox

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.

View example in the sandbox