Answers for "html video autoplay on ios"

2

html video autoplay IPHONE

<!-- On IOS devices safari block the autoplay by default. 
Playsinline allows to force autoplay and avoid this restriction --> 

<video autoplay loop muted playsinline class="video-background">
  <source src="videos/intro-video3.mp4" type="video/mp4">
</video>
Posted by: Guest on May-28-2020

Browse Popular Code Answers by Language