Another Personal Blog

How to embed youtube playlist onto website?

You reached here so I assume, you are already familiar with how to embed youtube videos on the webpage. That’s pretty simple. You just click on the “Share” button below the video link, click the embed button and copy the code there. All you need is paste it to your webpage. But when it came to playlist, life is not easy. Youtube don’t gave you direct link to playlist buty a vieolink and had playlist id as parameter on the url.

But you are smart. Before hitting over google.com you tried composing iframe on your own with the URL on the address bar. When you hit refresh on your webpage, all you gonna see is the single video. So after a bit of head-scratching, and a few keywords switching you arrived here. Don’t worry I won’t let you down. (until youtube changed their arrangements).

Actually it’s not that tough but just a bit tricky. All you have to do is right click on the playlist name ( right hand side, above the videos list ) and click on “Copy the link Address”.

Then just fill it on the iframe construct and holy moly you got the secret suce for your awesome webpage.

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

Or, if you are using WYSIWYG editors like eliminator for wordpress, all you will have to do is paste the link on your editor and you are all set.

Leave a Reply

Your email address will not be published. Required fields are marked *