Embed videos & playlists

You can add a YouTube video or playlist to a website or blog by embedding it.

Embed videos and playlists

Embed a video

  1. On a computer, go to the YouTube video you want to embed.
  2. Under the video, click SHARE Share.
  3. Click Embed.
  4. From the box that appears, copy the HTML code.
  5. Paste the code into your blog or website HTML.

Embed a playlist

  1. Sign in to your YouTube account on a computer.
  2. On the left side of the page, select the playlist you want to embed.
  3. Copy the playlist ID from the URL.
  4. Modify the embed code for an individual video by doing the following:
    • In the place of the video ID (after “embed/”), substitute “videoseries?list=”.
    • Then paste the playlist ID after the “=”.
    • Paste the code into your blog or website HTML.

Example:

  • <iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/videoseries?list=PLx0sYbCqOb8TBPRdmBHs5Iftvv9TPboYG” frameborder=”0″ allow=”autoplay; encrypted-media” allowfullscreen></iframe>

More info:  Google

Need to understand HTML in WordPress, Squarespace, or Wix