Toloka documentation

Inserting videos

This section describes how to insert a video and make sure the Toloker 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 (audio files, videos, images) from your own server, Yandex Disk, or a cloud storage like Yandex Cloud, Google Cloud, or Amazon AWS.

Make sure that the Toloker watched the video

To make sure that the Toloker played the video, in the validation property use the condition.played component.

To make sure that the Toloker viewed the video completely, in the validation property use the condition.played-fully component.