holidaygirl1225's profile picture

Published by

published

Category: Music

how to add autoplay to your profile!!!

hi i made this quick little tutorial to help anyone who wants to put music on their profile,., i go into more detail explaining this at the bottom but this top part is going to give you code and make this quick

(so i forgot where I got this code from, if this is your code i am SO SO SORRY i will be happy to replace this if you don't want it here)

this works with any youtube video, and it does not loop. (uhm, as far as  i know ?)

-------------------------------------------------------------------------------------------------------------------------------

STEP 1: 

copy and paste this code into any section of your profile editor, and then go to the youtube video with the song you want.

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


STEP 2: 

go to the URL at the top of the page:


highlight the last 11 characters (after the equal sign) and copy them, like in this image:



STEP 3:

go to the code on your profile and delete ALL of the N's, and paste that code where the N's were.

BEFORE:


AFTER:


STEP 4: 

press save on the profile editor and go to your profile, and it should work!!!

-------------------------------------------------------------------------------------------------------------------------------

BONUS: HOW IT WORKS

<iframe>
This is an HTML tag telling the program to create an iframe which you can think of as basically an embed tag. everything BEFORE the last > (greater than symbol) is code telling the program how the embed works.

width="0" / height="0"
these are styles (i think) that is basically making the embed invisible.

src="youtube link embed"
this code is telling what to put IN the embed, in this case the youtube video.. notice how in the link it is specified as en embed.

autoplay
basically telling the system to play this embed once the page loads.

title
this names the embed which is helpful for other css stuff (pls correct me if im wrong)

frameborder
this is making the embed even more invisible lol

everything else
this is just code stuff i don't understand yet haha but it's important!!!!

</iframe>
closing tag for the <iframe> from earlier

-------------------------------------------------------------------------------------------------------------------------------

i hope this was helpful!! thanks for reading!!! if you have any questions or corrections pls make them and if i can't answer i will TRY to find one!!

love, sky!! <3 <3 <3 

-------------------------------------------------------------------------------------------------------------------------------
Listening To: Chappell Roan - Super Graphic Ultra Modern Girl

Mood: In Pain
-------------------------------------------------------------------------------------------------------------------------------

Baby Blue Snowflake


7 Kudos

Comments

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