CC's profile picture

Published by

published

Category: Web, HTML, Tech

NO MUSIC :((

ive tried legit every code i can find and i cant get my song to play. what am i doing wrong?? HELP


<iframe width="0" height="0" src="https://www.youtube.com/embed/JiwS6ylBxrTpiPvC 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>
 this is what im using now and ive used like a million different versions of this. this code does not work for me no matter what so i need something else or a solution :((


1 Kudos

Comments

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

cornsilkgothic

cornsilkgothic's profile picture

Looks like after (loading="lazy") you're missing (data-ruffle-polyfilled="") ((without parenthisis))
Referenced my player code and this was the main difference between what you said you have.
So it should come out to look like this instead:

<*iframe width="0" height="0" src="(insert embed here)" title="YouTube Video Player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" loading="lazy" data-ruffled-polyfill="">



Remove asterisk from in front of first iframe, this is just in case it's not visible. Let me know if that helps at all!


Report Comment



The closing tag disappeared from my comment, but also add the closing tag of <*/iframe> without asterisk.

by cornsilkgothic; ; Report

i appreciate the help! unforch this didn't seem to help either :( anytime i put in a link or the letters it just disappears from the coding

by CC; ; Report