How to embed a Yandex video on a website

The video on the site not only conveys information, but also attracts the attention of visitors. Many services provide the ability to store, post and share video files. Among them are the products of the Yandex ecosystem. In this article, we will look at each of them and describe detailed instructions for inserting videos.

Yandex.Disk

It is a cloud storage for audio, media and other file types. Inserting videos on a site from Yandex.Disk is useful if you have your own files that you want to show on the site. But there are many articles on the Internet with outdated information. They describe the instructions for inserting from this service, which are no longer working. Currently, the Disk does not provide the ability to copy iframe or HTML code. Instead, only a direct link to the file, a QR code, or sending by mail is available. This may be a security measure to protect files from illegal use or distribution. Free Disk usage gives you access to 5 GB of cloud space. To increase this volume to 200, 1000 or 3000 gigabytes, you need to register one of the Yandex 360 subscriptions.

Yandex.Video

It is a platform that allows you to search and view videos posted on various video hosting sites in the public domain. To insert a video from Yandex.Upload a video to your website, do this:

Go to the Yandex page.Video.

Find the video you need through the search and click on it.


Move the cursor over the player and right-click.

Depending on the source of the video, select the item in the context menu:

  • for Rutube – "Copy the code to insert the player",
  • for YouTube – "Copy HTML code",
  • for VK Videos – "Copy embed code".

Paste the copied frame code into the HTML markup of the page.

After that, the video will be displayed on the site page.

One of the advantages is the placement of videos from different sources. But there is a drawback to this. If the video is from a platform where ads are turned on when viewed, then it will also run on your site. This is a consequence of the fact that the source of the file is an external service, and the code only refers to it, and does not save the file on your hosting or server.

Yandex Zen

This is a service for authors and readers that works based on recommendations. You can post and read articles and watch videos on Zen. To insert a video on your site from Yandex.Zen follow these steps:

Find the file you need using the "Find in Zen" line, or using the "Videos" or "Videos" sections in the side menu.

Click on the "Share" icon under the player and select "Embed" in the list.

In the window that appears, copy the frame code from the "Publication Code" field.

Paste the copied code to the site in the right place.

If everything is done correctly, the video will appear on the page.