redconfetti

Embed YouTube Video Playlist

December 13, 2012

So I had a friend ask recently if it’s possible to embed multiple videos on a webpage / blog post, which play in succession.

So I see that there are ‘Playlists’, one of which I have called ‘Bookmarks’. I wonder if the embed code will embed the playlist, not just the first video.

Here’s the code I’m using:

<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=PL25C5E96DB979CBE9" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

And here is the playlist:


Written by Jason Miller who lives and works in Berkeley, CA developing websites and focusing on personal development. He is also on Facebook

© 2020 Jason Miller, Built with Gatsby