How to embed Youtube Channel Playlist – Advanatages and disadvantages
How to embed Youtube Video?
- Open your desired YouTube video.
- You can click the Share button just below the video.
- Click Embed.
- Now, the box with HTML code will appear. You can copy the HTML code.
- Now, simply paste the code into the source code of your website page.
How to embed a Youtube Channel Playlist?
- Select the playlist you want to embed.
- You can click the Share button just below the video.
- Copy the playlist ID from the URL.
- Modify the embed code for an individual video by changing the list id.
<iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/videoseries?list=PLx0sYbCqOb8TBPRdmBHs5Iftvv9TPboYG” frameborder=”0″ allow=”autoplay; encrypted-media” allowfullscreen=”allowfullscreen”></iframe>
Code before changing
<iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/videoseries?list=PLx0sYbCqOb8TBPRdmBHs5Iftvv9TPboYG” frameborder=”0″ allow=”autoplay; encrypted-media” allowfullscreen></iframe>
Code after changing
<iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/videoseries?list=PLv4VDktLYGy7r8RAbBSYvnuWHjfv5ZF4R” frameborder=”0″ allow=”autoplay; encrypted-media” allowfullscreen></iframe> - Paste the code into your blog or website HTML.
How to embed a Youtube Channel Playlist with the specific video?
Change the “videoseries” with an id of your specific youtube video.
Code before changing
<iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/videoseries?list=PLv4VDktLYGy4iuv07FYO8mOcm_odF7QtU” frameborder=”0″ allow=”autoplay; encrypted-media” allowfullscreen></iframe>
Code after changing
<iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/wsxBQwsmoeE?list=PLv4VDktLYGy7r8RAbBSYvnuWHjfv5ZF4R” frameborder=”0″ allow=”autoplay; encrypted-media” allowfullscreen></iframe>
Representing Video id: wsxBQwsmoeE
Representing Playlist: PLv4VDktLYGy7r8RAbBSYvnuWHjfv5ZF4R
Comparison of Embedding a playlist and embedding a video
Advantages of embedding a playlist or video
- The user can easily watch all the videos in your playlist.
- Improve user experience.
Disadvantages of embedding a playlist or video
Your web page speed can decrease if your web page is not optimized.