Raboot_vibing's profile picture

Published by

published
updated

Category: Web, HTML, Tech

How I got my Youtube playlist to autoplay

Hey there. I've been on this website for only two days and its already a blast. Learning how to customize my blog has been a cool experience and seeing all the intricate parts i can play around with was mind-blowing. I figured out how to get music playing on my blog thanks to the many guides on here, but when I heard you could embed a Youtube playlist, I had to try it out. I was getting a lot of errors first and many of the methods i was reading up on were outdated and/or had mixed succession, but after a few observations and some careful tinkering, i believe i have found the the right solution! You'll want to copy the code below,  


<iframe width="0" height="0" src="https://www.youtube.com/embed/playlist?list=[PLAYLIST VIDEO CODE HERE]&;amp;;autoplay=1&;loop=1&;controls=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" loading="lazy">
</iframe> 
*NOTE:Don't include the brackets( [ ] ) then place your playlist code after "list=" Place it in your "About Me" section or in any of your profile's textbox. If you want to make the video player visible, then simply change the zeros in the quotations next to Width and Height. I hope this was helpful to you! I've seen many others have struggled to get their Youtube playlists on their profile, so hopefully this is what solves the problem for y'all!


26 Kudos

Comments

Displaying 12 of 12 comments ( View all | Add Comment )

WetSock

WetSock's profile picture

I know this was shared years ago but when I google how to do this, this is still the first thing that shows up so I'm thinking maaaaybe someone will see this comment?

2 things, I don't know much about coding so does anyone know how to get the playlist to loop rather than playing random youtube videos after it's done? When it finished playing on my profile, random songs started playing.
Also, is there a way to make it shuffle automatically so it's not always the same song playing first?


Report Comment

Huevo

Huevo's profile picture

Hehehe thank you!!!

finally i can add a playlist to my profile o.O


Report Comment

mocha!!

mocha!! 's profile picture

Using!!1!


Report Comment

` El Zorro ' ..... 𓃥

` El Zorro ' ..... 𓃥's profile picture

this is 3 years old but, is there a way you can somehow shuffle the playlist?


Report Comment

medusra_4x

medusra_4x's profile picture

OH MY GOODNESS THIS IS AMAZING!!!

i now have 34 songs on autoplay.
is that too much? i like that I can leave my profile idle, and just listen to the playlist...
this is so fun


Report Comment

pizza4kitties

pizza4kitties's profile picture

tysm!!


Report Comment

cameron

cameron's profile picture

Hi! i know its been three years since you updated this... thought I'd at least try XD. Just wondering if I should be putting the whole playlist link, or just the ID of the link? and how do I find that within the link? thank you.


Report Comment



heyyy im not the OG publisher/poster of this topic but! i DO know how to help you out! (19 days late tho lol...) so where it says to put the playlist video code, you ONLY put the id. to find the video id, it comes after the 'equals' symbol in the link itself (example: https://www.youtube.com/watch?v=BlahBlahBlahVideoID) (i hope this helps ^^)

by SynthAce; ; Report

Thank you! Totally got it working!

by cameron; ; Report

FANG

FANG's profile picture

thank you so muchh ^O^


Report Comment

𝐨𝐥𝐢𝐯𝐞𝐫 ♱.

𝐨𝐥𝐢𝐯𝐞𝐫 ♱.'s profile picture

its not working for me :(


Report Comment

rodion ⭐️

rodion ⭐️'s profile picture

thx very much :33


Report Comment

Fross

Fross's profile picture

heyy thx for the code


Report Comment

Acid!

Acid!'s profile picture

Hi! Sorry to trouble you. You mentioned there was a "code down below" however I don't quite see what you're talking about.


Report Comment



What the hell? I'm sure I wrote it in there. I'll check when I get home.

by Raboot_vibing; ; Report

Looks like I fixed it. Check to see if you can see it as well. *Note to self: don't share html code in html format

by Raboot_vibing; ; Report

Nice! I can see it now. Thank you!

by Acid!; ; Report