HOME > Streaming > Youtube: Start Videos Automatically - This Is How

YouTube: Start videos automatically - this is how

If you run your own website where you publish, for example, instructions or tutorials, it may be advisable to record them as videos. For this purpose, YouTube offers the possibility to embed videos on your own website.

How to enable autoplay on a YouTube video

If you want to embed a YouTube video on your own website, you usually have an embed code. This must be modified so that the video starts automatically. This involves setting a specific parameter in the code.
  1. As a rule, the embed code for YouTube videos looks like this: <iframe src="https://www.youtube.com/embed/...″ width="800″ height="400″ frameborder="0″ allowfullscreen"></iframe>. This is HTML code.
  2. To make the video start automatically when the web page is called, the query parameter "autoplay=1" must be written behind the video URL.
  3. The start of query parameters is marked behind a URL with a "?". Der Einbettungscode muss also wie folgt abgeändert werden: <iframe src=”https://www.youtube.com/embed/...?autoplay=1″ width=”800″ height=”400″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>.
  4. Die 1 steht hierbei für „true“ oder auch „an“. Würden Sie statt der 1 eine 0 einsetzen, dann wäre die Autoplay-Funktion wieder deaktiviert

By Chelsea

Using Markdown on GitHub: All commands at a glance :: Upload videos to Reddit: These options are available
USEFUL LINKS