~UwU32~'s profile picture

Published by

published

Category: Web, HTML, Tech

Wanna play music on your profile automatically?

If you just wanna take the code and run here:

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

I took out the last > so just slap in onto the /iframe section and you're golden.

Just switch out the URL for your own stuff unless you want Kirby music-

The "?" HAS to be there otherwise it breaks-

__________________________________________________________________________

For those who want me to break everything down:

For anything you have to do to edit your profile you have to get comfortable with </> business so that applies for the iframe open and closer.

For those who want a physical video to be open, ex. you have a new WR for Cooking Mama and want it on your page then you can go into the 'Share' function of Youtube and click on 'Embed'. You can then copy-paste that code into your 'Blurbs' after your style code and now you have your video up onto your profile page!

The video's dimensions are the width= and height= business and if you don't want an open video player, put zeroes into the quotes.

The SRC aka source of is where it gets a bit messy. You paste your URL in as the source and you need to pay attention to all the ampersands (&) and semicolon (;) nonsense.

Volume is controlled via amp. If you want a really loud video then an example would be, ;amp=200&; .

If you want the video to automatically start, then keep the ;autoplay=1&; code, otherwise change it to ;autoplay=0&; Looping is how many times it plays, just make sure to have it loop at least once. I recommend not messing with the control and title code, and leaving it be.

If you have a physical video open, then frameborders are going to be important. Change the zero into how many pixels wide you want your border.

After that, it gets fairly simple and you don't want to mess with it.

Hopefully this helps!

Thanks to keirah for the base code, this post is mainly for me to help wrap my head around HTML concepts.


2 Kudos

Comments

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