vomitgirl's profile picture

Layout published by vomitgirl

published
updated

Add to Favorites

View Layouts

View Profile

Report Layout

mini music player !

Tags: music, music player, autoplay

Description:

this is a mini music player thingy thattt you can press to play/pause (anddd that iiiiii technically stole from this tumblr theme thingy :3 https://www.tumblr.com/theme/39863)
but i did change it so it'd work on spacehey layouts better sooo here's the code i used :3

PLEASE READ THROUGH EVERYTHING HERE AND IN THE CODE BEFORE U PUT IT ON PAGE

if you're having trouble getting this player to work, make sure u r ONLY putting the video id (for example, "watch?v=cJ2i9XADVao" the bolded part only), and make sure u remove the brackets ([] <--these) from within the link :3
if you're still having trouble, just put a comment :3

Preview:

Layout Screenshot
click on the image for a larger preview

Copy and paste this code into the "About me" section of your Profile to use it.

Caution: This Layout was not inspected by SpaceHey — use it at your own risk.


Comments

Displaying 20 of 3664 comments ( View all | Add Comment )

Me I'm isaac

Me I'm isaac's profile picture

Using


Report Comment

3La

3La's profile picture

using


Report Comment

Æutana

Æutana's profile picture

usingggg


Report Comment

Dizzy

Dizzy's profile picture

why no work anymore T-T what did I do wrong


Report Comment

sage

sage's profile picture

we R using


Report Comment

demonixoverlord

demonixoverlord's profile picture

using !!


Report Comment

π•―π–†π–•π–π–“π–Š

π•―π–†π–•π–π–“π–Š's profile picture

using!!


Report Comment

✰Yellow✰

✰Yellow✰'s profile picture

Using this! Yayay thank you for the code!


Report Comment

π”£π”žπ”’ `. π™š.°.

          π”£π”žπ”’ `. π™š.°.'s profile picture

been searching for one that works for HOURS. thank you!!! using it


Report Comment

⦻Gruftie⦻

⦻Gruftie⦻'s profile picture

hi, in case anyone is having issues with the music not playing, it might be because the video isnt aligned properly. ive tweaked the code a little to realign the video and i can play and pause the music now.
simply replace the section that goes in your style css with this:

(add "style" in angle brackets here)

#music {
position: relative;
background: url('https://external-media.spacehey.net/media/sEpY56IKUlhCSqiV8BzxTZU1nju6NO14jZKW0WCD9T4I=/https://file.garden/ZRYtsnIP2EXOR4Kw/Site%20Files/musicplayer.png') top left no-repeat;
background-size: auto;
background-size: auto;
background-size: 100% 100%;
overflow: hidden;
height: 50px;
max-width: 305px;
border: 1px solid #000000;
}
#music iframe {
position: absolute;
top: -60px;
height: 160px;
width: 300px;
opacity: 0.0000000000000000001;
z-index: 0;
left: -125px;
}
#music div {
position: absolute;
top: 10px;
left: 55px;
width: 51%;
margin: 0 !important;
}
#music span {
display: block;
color: #FFFFFF;
font-weight: normal;
text-align: left;
font-size: 12px;
width: 240px;
}


(add "/style" in angle brackets here)

i modified the music iframe section just a bit. this fixed it for me.


Report Comment



thank you dude ur the goat

by ray; ; Report

thank you sm this helped me a lott

by Tripleye_4; ; Report

tysmm it finally works

by mina; ; Report

bless!! this worked tysm <3

by Cati β˜†; ; Report

tyyy

by Sama; ; Report

oh my goshhh tysm

by lemongrv6; ; Report

*!!SacerficeCentral!!!*

*!!SacerficeCentral!!!*'s profile picture

Usingh


Report Comment

*!!SacerficeCentral!!!*

*!!SacerficeCentral!!!*'s profile picture

USING


Report Comment

*!!SacerficeCentral!!!*

*!!SacerficeCentral!!!*'s profile picture

USING


Report Comment

*!!SacerficeCentral!!!*

*!!SacerficeCentral!!!*'s profile picture

USING


Report Comment

*!!SacerficeCentral!!!*

*!!SacerficeCentral!!!*'s profile picture

USING


Report Comment

*!!SacerficeCentral!!!*

*!!SacerficeCentral!!!*'s profile picture

USING


Report Comment

*!!SacerficeCentral!!!*

*!!SacerficeCentral!!!*'s profile picture

USING


Report Comment

*!!SacerficeCentral!!!*

*!!SacerficeCentral!!!*'s profile picture

USING


Report Comment

*!!SacerficeCentral!!!*

*!!SacerficeCentral!!!*'s profile picture

USING


Report Comment

*!!SacerficeCentral!!!*

*!!SacerficeCentral!!!*'s profile picture

USING


Report Comment