« Web, HTML, Tech Forum

my autoplay isnt working

Posted by swarm

posted
updated

Forum: Web, HTML, Tech

i cant seem to get the autoplay to work, ive tried like a thousand times and i dont know if im doing it wrong or if autoplay doesn’t work on mobile. if anyone can tell me that would be great, i have a hunch its the mobile thing but i want to know for sure. ive already changed the link, that was included in me trying a thousand times. 


Report Topic

1 Reply

Reply by ~Kadavera~

posted
updated

hey there, i was struggling with the same thing, until someone told me there is an "autoplay" category in the layouts section, so you can browse that and find specific songs or codes that can work for you, instead following a YouTube tutorial. 

what worked for me was this:

<iframe width="0" height="0" src="https://www.youtube.com/embed/INSERT?autoplay=1&loop=1&playlist=INSERT" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" loading="lazy" data-ruffle-polyfilled="">

simply replace the "INSERT" with the link from YouTube of the song you wanna use. not the full link, though- just the screwed up line of letters and numbers because we already have the rest of the link, and be careful as to not accidently remove any symbols like ? or " while pasting.


Permalink Report Reply