« Web, HTML, Tech Forum

Trouble getting youtube videos to autoplay on profile :( [closed]

Posted by Verty


Forum: Web, HTML, Tech

I'm trying to get a music video to autoplay on my profile, but it won't work for some reason.

This is the code I currently have in my About Me box:

<iframe width="0" height="0" src="https://www.youtube.com/embed/0LtRGxSZW4s?si=1nZzzAJxsf0e_2Bg//?&;amp;;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>

I'm not sure why it won't work (or if it's just an issue with my browser maybe?), so any help would be appreciated :)

EDIT: So it will sometimes work? If I just go to my profile directly or refresh it, the autoplay won't work. But if I try to perform a profile-related action (like if I go to reply to a comment on my profile and then click cancel), then it works. But even then, it stops working if I hit refresh?

Report Topic

1 Reply

Reply by Verty


Update to this post: It seems like it was just an issue with my browser. It seems to get unhappy if I refresh the page over and over.

Report Reply

Verty closed this Forum Topic