Answers for "how to autoplay a iframe"

1

iframe autoplay

<!-- 
first add ?autoplay=1 to your video url
then add allow='autoplay' attribute to your iframe element
-->
<iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1" allow='autoplay'></iframe>
Posted by: Guest on June-23-2020

Browse Popular Code Answers by Language