check my blog's profile picture

Published by

published
updated

Category: Web, HTML, Tech

AutoPlay YouTube Music Player (fixed/updated)


This code will allow you to have a YouTube video auto play on your profile!



*To change the YouTube video, edit the "VIDEOURLCODE" portion in the code.
*To hide the YouTube video, edit both the width and height to equal "0".

(COPY AND PASTE CODE BELOW)
------------------------------------------------------------------------------------------------

<iframe width="300" height="50" src="https://www.youtube.com/embed/VIDEOURLCODE//?&;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>



1013 Kudos

Comments

Displaying 20 of 333 comments ( View all | Add Comment )

Nyeinsu

Nyeinsu's profile picture

trying this out, hope it works!


Report Comment



it's been an hour and i still didn't hear any music ㅠㅠ i copy pasted everything in my about me page.

by Nyeinsu; ; Report

it WORKED!! thank youuuuuuu

if anyone was wondering how i finally got it: i deleted the two // in front of the ? in the code bc i saw a spanish comment saying it! also take the last 11 digits of the url of the youtube video!!

by Nyeinsu; ; Report

can i ask you if you put all the link or if you cut some parts of it?

by Crimm; ; Report

hi! as for the youtube link, i took the last 11 digits of it. the youtube watch link is already written in the code so i think you only need the last 11 digits, i only found out thanks to someone pointing that out as well.

by Nyeinsu; ; Report

if you are referring to the code, and then yes i copied everything.

by Nyeinsu; ; Report

i0ves1ck

i0ves1ck's profile picture

commenting to come back later when i feel like trying this again


Report Comment

Jay

Jay's profile picture

idk if anyone else is having this problem, but everytime i put a song id into the thing it wont play, but if i put a random video into it, it plays, and it's only doing this with youtube videos that are listed as songs. i did get a few youtube songs to work because they aren't listed as songs as they only have like 300 views


Report Comment

bonbon

bonbon's profile picture

It's showing me an error. Anyone know why?


Report Comment



Hey idk if u found the problem but the most common mistake that ppl do is to copy the share link instead of the URL

by Rumi; ; Report

Dart Highwind

Dart Highwind's profile picture

This one works. Thanks


Report Comment

bl00dy_b1bb1

bl00dy_b1bb1's profile picture

it took me an hour but i did it!


Report Comment

⋆♱!silly xkidx!♱⋆

⋆♱!silly xkidx!♱⋆'s profile picture

using


Report Comment

𝒢𝜚︰vinnie 。 ✦

𝒢𝜚︰vinnie 。 ✦'s profile picture

not working


Report Comment

iris

iris's profile picture

thank you!!!


Report Comment

Paint

Paint 's profile picture

Figured out that it didn't work for me because i was copying the code from the share link. You have to do it with the website link code for it to work in my experience
the website link i'm referring to is the link that appears next to the re-charge page thingy


Report Comment

beehivemind

beehivemind's profile picture

sometimes it's just. not autoplaying for me?? idk what's up


Report Comment



⋆ ˚。⋆୨୧ Manhunter⋆୨୧⋆ ˚。⋆

⋆ ˚。⋆୨୧ Manhunter⋆୨୧⋆ ˚。⋆...'s profile picture

TYSMM!! IT WORKS SO GODD


Report Comment

WooN!E_tr4SH

WooN!E_tr4SH's profile picture

TYSMMMM IT FINALLY WORKED *(E#*!&*#(!&@*


Report Comment

DJ2ki

DJ2ki's profile picture

Im still having a hard time ive tried a million copy and paste codessss 3


Report Comment

BlueSharkSlime

BlueSharkSlime's profile picture

ty ty ty!


Report Comment

ⓣⓞⓝⓘ

ⓣⓞⓝⓘ's profile picture

Tysm!!! using :]


Report Comment

po!nT

po!nT's profile picture

i messed it up somehow i need help lol


Report Comment



did you end up getting it fixed? It's not working for me either.

by Elian; ; Report

Nika

Nika's profile picture

tysmmm >//<


Report Comment

L3ftSt1ck

L3ftSt1ck's profile picture

for some reason it wont loop for me and idk how to fix it bc I suck at coding pleasse help meafdsgfaxzsgdzsAfSDGFSAGN please


Report Comment

˗ˏˋ dei ˎˊ˗

˗ˏˋ dei ˎˊ˗'s profile picture

thank u !!!!! using !!


Report Comment