Embed multiple youtube videos in single player as a playlist

Note: This is just a screenshot image, see below for the actual live video playlist

Embed multiple youtube videos in single player as a playlist

Short answer:

<iframe src="http://www.youtube.com/embed/kffacxfA7G4?playlist=tcYodQoapMg,iTNZ-OzBoBo" width="560" height="315"></iframe>

Result (real live example):


Details

Able to embed multiple youtube videos into a single player as a playlist is very handy when you want to embed several videos at without the embedded videos actually taking all your space on a webpage while allowing your audience to access all the information you want to deliver to them.

Simply copy the id of each YouTube video in the url and then replace them into the playlist link: 

http://www.youtube.com/embed/VIDEO_ID_1?playlist=VIDEO_ID_2, VIDEO_ID_3

Insert the url into an iframe with your own preferred width, height and properties for your embedded video playlist.

How to get YouTube video id?

Simply go to a browser, open YouTube website, click into the video watching page, and then copy the http url.

For example: https://www.youtube.com/watch?v=liJVSwOiiwg

The YouTube video id is liJVSwOiiwgjust after https://www.youtube.com/watch?v=, which is different and unique for every different video on YouTube.


Discussion

Feel free to leave a comment below, share with us your opinion and experience, or ask a question if you have any doubt regarding this topic. Thanks for reading.

Comments

Popular posts from this blog

Google Analytics 4 Tracking ID for Blogger

Embed YouTube channel latest videos as a playlist on Blogger