honor's profile picture

Published by

published

Category: Web, HTML, Tech

Coding 😭

heyyyy so i've been trying to code this song onto my profile to play automatically but i'm having the worst luck ever, if someone could help me that would be amazing!!

i need to know how to get the video to not show on my profile, but for the audio to play on loop when you click on my account.


1 Kudos

Comments

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

Cyber_Prisc0rium

Cyber_Prisc0rium's profile picture

What I did with mine was to get some pre-made code in the layout section of some specific music, put it just the way the person coded it in the "about me" section of my profile and just change the part which contains the last letters of the Youtube link to the music I wanted to play.


Report Comment



thank you so much 🙏🙏

by honor; ; Report

how many of the last letters do you change, and what do you change them to?

by honor; ; Report

For example:

The code in that I put in my "about me" section while editing my profile is this one:

""

Can you see the link section? Right beside the "src="? That´s what we're looking for!

If you just copy and paste the code above, it'll play the exact same music that is playing in my profile, and you want to change that. So you'll just search for the link of song you wanna play:

(Let´s suppose it´s this one: "https://www.youtube.com/watch?v=dQw4w9WgXcQ")

After you find the link of the music you want to play on your profile, you'll copy the last letters of the link, the ones right after the "=" symbol. So in the case above, the part you wanna copy is this one:

"dQw4w9WgXcQ"

After you did this, get the code I just shared (just a reminder that the code isn't mine, it´s from another user, he posted it for "The Inside Peachs Castle" music from Mario64, the credits are all his.) you'll replace the letters of the link that is there.

Remember the part if the code that has the link? This one: "src="https://www.youtube.com/embed/D6kMLQoJjAw?"

You'll just replace the last letters of the link above for the one you just got, so it'll look like this:

"src="https://www.youtube.com/embed/dQw4w9WgXcQ?"
(The letters are those right after the "/" and right before the "?" symbol)

Save the changes you've made and it'll probably be working well! If the song doesn't loop, try changing the number at the loop section of the code, the "loop=1&autoplay" one, right after the link section.

Hope it helped ;D

by Cyber_Prisc0rium; ; Report

MY BAD! The code I used for the example didn't appear, I apologize :(

The code I used is this one: https://layouts.spacehey.com/layout?id=107413

by Cyber_Prisc0rium; ; Report

you're completely fine!! can you tell me if it worked for me?, there should be two sounds I believe, a windows start up sound and a song

by honor; ; Report

Yup! It's working, good job ;)

by Cyber_Prisc0rium; ; Report