If you don't know what I'm talking about, it's about this blog here, with the code to add a music player along with two dancing buddies to your profile!
This one will be a tutorial on a few things:
✮ How to change the song
✮ How to autoplay the song
✮ How to change the buddies
✮ Buddies without the music player
✮ Changing the position of the buddies
This is a long one, so get comfortable, grab some popcorn, and let's go!

HOW TO CHANGE THE SONG PLAYING
This one is quite simple. First, we head over to youtube, and find the song or playlist we want to be playing. Important: If you're going to use a playlist, do not click on the first video! Sleect the "view full playlist" option instead!
Now, copy the code after "https://www.youtube.com/watch?v=" in the url of the video:
Examples:

↑ video ↑

↑ playlist ↑
Now, find this part in the code:

We're going to change the link between quotation marks, after src.
Put the code you copied in both places where I put "code here":
src="https://www.youtube.com/embed/CODE_HERE?playlist=CODE_HERE&loop=1&controls=0"
That's all!

HOW TO AUTOPLAY THE SONG
If you're not using another music player to autoplay the song, you can use this one to start playing your selected music as soon as someone enters your profile!
Don't do this if you're already using another autoplay though, or the songs will play over each other!
Add the &;amp;;autoplay=1 in the song link.
Add allow="autoplay" before the >.
Should look like this:


HOW TO CHANGE THE BUDDIES
For this one, you're going to need two things: a gif, and a static image of that gif.
For example, let's use this Sponge Bob gif:

For the gif, you're going to need the gif url. Left click the gif you want, and select "Copy Image Adress".
Now, put it in the following place in your code:
Attention: It should be under the playingGif section, not the pausedGif or initialGif ones.

(if you want to change the second buddy, simply repeat this step, but replace the link right bellow the highlighted one.)
Now, for the static image, left click the gif you want, and select "Save Image As" instead. Make sure you're saving the image as a PNG, so it will be transparent. If you're on google, simply make sure you're clicking the preview, not the full selected image. Or you can use a tool like Cloud Convert GIF to PNG.
Whichever way you do it, download the image, then upload it to a image hosting website that allows you to obtain the direct link to that image (the one ending in .png). I recommend catbox.moe.
Now, with the link to the static image, replace it in pausedGif and initialGif.

(if you want to change the second buddy, just replace the links directly below the highlighted ones instead.)
And that's it!

BUDDIES WITHOUT THE MUSIC PLAYER
Here's the code!
<!--code by Inccubus Fangzz (https://blog.spacehey.com/entry?id=1874613) -->
<div class="gifsbox">
<img class="bubble" src="https://files.catbox.moe/sdmw7c.png">
<a class="linkGif play" href="#playingGif" >▶</a>
<a class="linkGif pause" href="#pausedGif" > ||</a>
<div id="pausedGif" class="workingGif">
<div class="gifcontainer">
<img id="gir" src="https://files.catbox.moe/zi3kte.png" alt="gir" loading="lazy" />
<img id="kirby" src="https://files.catbox.moe/tl8gnc.png" alt="kirby" loading="lazy" />
</div>
</div>
<div id="playingGif" class="workingGif">
<div class="gifcontainer">
<img id="gir" class="startgif" src="https://files.catbox.moe/hvuk3n.gif" alt="gir" loading="lazy"/>
<img id="kirby" class="startgif" src="https://files.catbox.moe/6hue79.gif" alt="kirby" loading="lazy"/>
</div>
</div>
<div class="initialGif">
<img id="gir" src="https://files.catbox.moe/zi3kte.png" alt="gir" loading="lazy" />
<img id="kirby" src="https://files.catbox.moe/tl8gnc.png" alt="kirby" loading="lazy" />
</div>
</div>
<style>
#gir {
height: 35%;
}
#kirby {
right: 7%;
top: 55%;
transform: translateY(-45%);
height: 20%;
}
.linkGif{
z-index: 3;
position: absolute;
color: #3354a3 !important;
background-color: #f2f5fc;
border-radius: 50px ;
padding: 2px;
}
.linkGif:hover {
text-decoration: none;
}
.linkGif.play{
left: 40%;
top: 50%;
font-size: 2vw;
}
.linkGif.pause{
right: 40%;
top: 50%;
font-size: 2vw;
}
.workingGif:target ~ .initialGif{
display: none;
}
.workingGif:target .gifcontainer{
display: inline-block;
}
.workingGif:not(:target) .gifcontainer{
display: none;
}
.gifsbox {
width: 100%;
padding-bottom: 60%;
height: 0;
position: relative;
margin: auto;
}
.bubble {
position: absolute;
z-index: 4;
height: 10%;
top: 40%;
left: 20%;
pointer-events: none;
}
.videobox img:not(.windows, .bubble){
position: absolute;
top: 50%;
transform: translateY(-50%);
}
</style>
Change these values to change the background color, and the color of the play and pause buttons:

And change these ones to alter the position and size of your buttons!


CHANGING THE POSITION OF THE BUDDIES
For this part, you might need to take the gifs out of the videobox, like this:
<div class="videobox">
<iframe src="https://www.youtube.com/embed/6-8E4Nirh9s?playlist=6-8E4Nirh9s&loop=1&controls=0&;amp;;autoplay=1"
frameborder="0" allowfullscreen="" loading="lazy" allow="autoplay">
</iframe>
<img class="windows" src="https://files.catbox.moe/g7b6ig.jpg" loading="lazy"/>
<img class="bubble" src="https://files.catbox.moe/sdmw7c.png">
<a class="linkGif play" href="#playingGif" >▶</a>
<a class="linkGif pause" href="#pausedGif" > ||</a>
</div>
<div id="pausedGif" class="workingGif">
<div class="gifcontainer">
<img id="gir" src="https://files.catbox.moe/zi3kte.png" alt="gir" loading="lazy" />
<img id="kirby" src="https://files.catbox.moe/tl8gnc.png" alt="kirby" loading="lazy" />
</div>
</div>
<div id="playingGif" class="workingGif">
<div class="gifcontainer">
<img id="gir" class="startgif" src="https://files.catbox.moe/hvuk3n.gif" alt="gir" loading="lazy"/>
<img id="kirby" class="startgif" src="https://files.catbox.moe/6hue79.gif" alt="kirby" loading="lazy"/>
</div>
</div>
<div class="initialGif">
<img id="gir" src="https://files.catbox.moe/zi3kte.png" alt="gir" loading="lazy" />
<img id="kirby" src="https://files.catbox.moe/tl8gnc.png" alt="kirby" loading="lazy" />
</div>
<style>
To change their positions, you need to work on this part of the code:

To make them fixed on the bottom, for example, you can change it to this code:
#gir {
height: 300px;
position: fixed;
bottom: 5px;
left: 5px;
z-index: 999;
}
#kirby {
height: 200px;
position: fixed;
bottom: 5px;
right: 5px;
z-index: 999;
}
And that's it!

Oof, that was a long one! Hope everything was clear, but if you have any doubts, feel free to reach out to me or comment!
Bye bye!
Comments
Displaying 0 of 0 comments ( View all | Add Comment )