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
- On a computer, go to the YouTube video you want to embed.
- Under the video, click SHARE
.
- Click Embed.
- From the box that appears, copy the HTML code.
- Paste the code into your blog or website HTML.
Embed a playlist
- Sign in to your YouTube account on a computer.
- On the left side of the page, select the playlist you want to embed.
- Copy the playlist ID from the URL.
- 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