How to Make a YouTube Video AutoPlay

To make an embedded video autoplay, add “&autoplay=1” to the video’s embed code right after the video ID (the series of letters that follows “embed/”). Embedded videos that are autoplayed don’t increment video views.

Embed a video or playlist

  1. On a computer, go to the YouTube video or playlist you want to embed.
  2. Click SHARE Share.
  3. From the list of Share options, click Embed.
  4. From the box that appears, copy the HTML code.
  5. Paste the code into your website HTML.
  6. For network administrators: You will need to add youtube.com to the firewall allowlist.

Leave a Reply

*