Prepare your site for blocking YouTube in the Russian Federation

YouTube video hosting may be blocked after Instagram and Facebook if its owners do not comply with the requirements of Roskomnadzor.

If video hosting is blocked, many Russian sites will face the problem of displaying video materials on their pages.

To prevent and correctly display video materials on the site, you must perform the following steps:

  • Download videos hosted on YouTube through the service Savefrom;
  • Place downloaded video materials on your hosting;
  • Go to the site, find and remove the YouTube code responsible for placing the video(s) on the page;
  • Next, insert the html code that allows you to display the video on the site through the player.
<video controls>
  <source src="point the way/name_file.mp4" type="video/mp4">
  <source src="point the way/name_file.webm" type="video/webm">
  <p>Your browser does not support HTML5 for video playback. You can <a href="point the way/name_file.mp4">download video</a>.</p>
</video>

Detailed information on working with the “video” element is available at https://developer.mozilla.org