Wookie's profile picture

Published by

published
updated

Category: Web, HTML, Tech

How I got music to play on my page!! (UPDATE)

So, recently I have been asked how I got music to play on my page!

So here:

<iframe width="1" height="1" src="https://www.youtube.com/embed/######?&;amp;;autoplay=1&;loop=1" title="Youtube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope;picture-in-picture" allowfullscreen=""></iframe>

~~~~~~~~~~~~~~~~~~~~

copy and paste that! Just remove the hashtags and paste the numbers and letters from the last part of a YouTube link!!
(Don't remove the question mark!!)

For example:

<iframe width="1" height="1" src="https://www.youtube.com/embed/g7A9DWiAwbE?&;amp;;autoplay=1&;loop=1" title="Youtube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope;picture-in-picture" allowfullscreen=""></iframe>


~~~~~~~~~~~~~~~~~~~~~
UPDATE

I'm sorry, my code no longer works.
Check out Vidal's blog for an updated version.

https://blog.spacehey.com/entry?id=97599

(thank you! :))

I hope I could help! :)


683 Kudos

Comments

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

Vidal

Vidal's profile picture
Pinned

Check out my blog for an updated fix for auto play!

https://blog.spacehey.com/entry?id=97599


Report Comment



it works!! thank you so much!!

by chey♡; ; Report

omfg it actually works if u want proof check my page!

by rye <3; ; Report

mine doesn't work, like it can't autoplay. idk what im doing wrong, i checked all my codes and it doesnt seem to be effecting it. im a noob at coding so idk

by cam; ; Report

:c

:c's profile picture

tysmmmmmmmmmmm ToT <3333


Report Comment

lolapaluuza

lolapaluuza's profile picture

Finding good music to listen to now isn't a problem at all. Moreover, I stopped paying for subscriptions on different platforms a long time ago. I can't find much of the music I like on Spotify at all, so I don't even see the point in paying. Basically, I find cool music on YouTube and convert it with mp3 juice, which is free, fast and high quality. This is a great service for those who like to listen to rare and unpopular music or want to save money.


Report Comment



Yeah I love mp3juice my friends call me broke because I don’t use Apple Music and stuff but idc I’m woke xd

by Big(.)(.)mommalj05; ; Report

SAERIM

SAERIM's profile picture

does anyone know how to make the volume softer because i keep getting jumpscared


Report Comment



If u discovered pls tell me

by MoonClown; ; Report

Gor3_org

Gor3_org's profile picture

OMG thank you


Report Comment

Cx.Alexia

Cx.Alexia's profile picture

it doesn't work :(


Report Comment



I tried and it doesn't work for me either.

by Ray; ; Report

doesnt work for me either

by Jackie; ; Report

binnie

binnie's profile picture

it doesn't work to me :


Report Comment

TheKookie

TheKookie's profile picture

Is there a way to make this work with Spotify? I think I saw a profile with a full Spotify Playlist and I'd like to know if something similar works.


Report Comment

till

till's profile picture

where do u copy and paste it??


Report Comment



you can copy and paste it anywhere like ur about me, general, etc.

by yenalum; ; Report

KevinDurant

KevinDurant's profile picture

Games that have made many people give up because it has quite high skill requirements, are you one of them? Or will you conquer the game and make it tame before you? Experience and feel at Sudoku 247 to confirm it!


Report Comment

Jeremy N.

Jeremy N.'s profile picture

Even if someone commented this already, I use my spotify. I just created a specific playlist. Then I right clicked the playlist name, copy code, then paste where you want it to show.


Report Comment

ᅠ's profile picture

For anyone who is wondering.
They have removed auto-play
It is not broken. They just took it off in your about page


Report Comment



year ago but wtf why

by iAmThatKidYouKnowWhatiMean; ; Report

Lia Ballester

Lia Ballester's profile picture

does it work for any of you guys? ^^


Report Comment



no :( they removed auto play

by Bullet ✯ (Iheartddc); ; Report

⛈️Lissa

⛈️Lissa's profile picture

dang, I hope the auto play for this gets fixed, that was my favorite thing.


Report Comment

antónia <3

antónia <3's profile picture

this was the highlight of my page rip :(


Report Comment

𝓛𝓮𝔁𝓲

𝓛𝓮𝔁𝓲's profile picture

Was working before now all of a sudden it doesnt :(


Report Comment

Klaus Gottberg

Klaus Gottberg's profile picture

For now I'd just try using soundcloud and putting in something that was originally on YouTube via upload to soundcloud. Embeds require permission when someone goes into your page. Make a width 300 by height 100 player, it's compact and does a similar function until they enable the audio tag again if it's planned to keep the audio tag on the site.


Report Comment



Compact and make it scrollable is what I did for now.

by Klaus Gottberg; ; Report

its more of the issue that autoplay has stopped for all embedded players.

by Vidal; ; Report

Extended Blundering

Extended Blundering's profile picture

S.O.S. autoplay! R.I.P music. much sadness, my profile lost ten cool points


Report Comment



Same here :/

by John-Richard Javier; ; Report

AUTUMИ</3

AUTUMИ</3's profile picture

it was working at first but it ramdomly stopped ;-;


Report Comment



Yeah, same for me

by PetiteObama; ; Report

(っ◔◡◔)っ ♥ Pixelily ♥

(っ◔◡◔)っ ♥ Pixelily ♥'s profile picture

it worked. Thanks so much


Report Comment