« Web, HTML, Tech Forum

how to make a button trigger an autoplay

Posted by billyBob99

posted
updated

Forum: Web, HTML, Tech

i have a funny autoplay on my profile that gets pretty annoying, so i want to change it so you have to hit a button for it to work instead. 

this is the autoplay code

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


Report Topic

0 Replies