-1

I am trying to figure out why the video is not autoplaying in IOS devices?

<div class="video-container">
<video id="intro-video" video-src="https://www.w3schools.com/html/mov_bbb.mp4" poster="" playsinline autoplay muted loop>
    <source video-src="https://www.w3schools.com/html/mov_bbb.mp4" video-width="1600" playsinline autoplay muted loop>
    <source video-src="https://www.w3schools.com/html/mov_bbb.mp4" video-width="900" playsinline autoplay muted loop>
    <source video-src="https://www.w3schools.com/html/mov_bbb.mp4" video-width="480" playsinline autoplay muted loop>
</video>

Playsinline is already added as described in the IOS video documentation

webkit-playsinline is not added

LDX
  • 71
  • 7

1 Answers1

-1

Most modern web-browsers don't allow to auto-play audio and video if there is no interaction from the user, as a click on the webpage.

Aviv Ben Shahar
  • 268
  • 1
  • 8