saidit
saidit copied to clipboard
youtube playlist embeds are sucking
This url: https://www.youtube.com/watch?v=HdMS19god0g&list=PL7E0DE3CF03D3E9B2&index=6
Makes an iframe with src: https://www.youtube-nocookie.com/embed/videoseries?list=PL7E0DE3CF03D3E9B2
So it is missing the index parameter. So video 6 doesn't play in the embed, video 1 does.
This iframe src url works, but having to subtract 1 in index? https://www.youtube-nocookie.com/embed/videoseries?list=PL7E0DE3CF03D3E9B2&index=5
On youtube, if you go to the original posted url, they tell you this is the embed. So maybe just drop the list and index parameters altogether.
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/HdMS19god0g" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>