alexiey's profile picture

Published by

published
updated

Category: SpaceHey

Coding tips for newbies: adding music #2

Adding music is I believe something we all would like to do. It's really simple!


Go on YouTube and choose your song.

Paste this code in your "About me" section:


<iframe width="0" height="0" src="URL?si=C83JDl3SzjYX_0oT?si=rXBzBznXW2KnPKn8//?&;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>


Now listen to me carefully. 

Click "Share", then "Embed." Copy ONLY the link.

After that, Paste it where I wrote "URL". Do NOT delete what's after the "?".

You should have this now. And that's basically it. You have successfully added music to your profile! :3




5 Kudos

Comments

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

niassu

niassu's profile picture

does the <audio> tag not work? i've used it on local pages on my pc, but never actually tested it on a real webpage...
i just feel that embedding a whole youtube video into your page is a bit much if all you want is music...


Report Comment