Many times when we are making a post or something like that, we want to enhance it a little more by including a YouTube video; however many times these videos consist of a playlist; that is to say a set of videos; however the procedure to add a playlist is not as straightforward as it should be, and when we go to a playlist, we will see something like the following:
As you can see, it only shares the video you have selected regardless of whether it is part of a playlist or not; but we can do something else to insert a playlist we have to use the following URL token as a base:
https://www.youtube.com/embed/videoseries?list=<TU ID>
And of course your usual iframe:
<iframe width="560" height="315" src="" frameborder="0" allow="autoplay"></iframe>
So, with this in mind, go to the playlist that you want, in my case it would be:
https://www.youtube.com/watch?v=qUBWM3Z6Ns4&list=PLB5SYDBi8M3HkA4pHjmu-BFi5TqcXPSC4
And you copy what would be the ID, which is the one indicated by the list parameter:
PLB5SYDBi8M3HkA4pHjmu-BFi5TqcXPSC4
Remaining the playlist that you are going to incorporate into your website as:
<iframe src="https://www.youtube.com/embed/videoseries?list=PLB5SYDBi8M3HkA4pHjmu-BFi5TqcXPSC4" width="560" height="315" src="" frameborder="0" allow="autoplay"></iframe>
- Andrés Cruz
Develop with Laravel, Django, Flask, CodeIgniter, HTML5, CSS3, MySQL, JavaScript, Vue, Android, iOS, Flutter
I agree to receive announcements of interest about this Blog.
!Courses from!
10$
On Udemy
There are 1d 04:28!
!Courses from!
4$
In Academy
View courses!Books from!
1$
See the books