Autoplay video HTML on Safari iOS 14.2

Viewed 10220

I have noticed that videos that I set with an autoplay mode, don't work on Iphone iOS 14.2 Before that version everything worked fine.

Does anyone know the answer and how to fix this problem? Maybe there's a way to autoplay video on Safari (iOS 14.2) again.

3 Answers

I have a few videos autoplaying and they are still running fine on iOS 14.2.

This is the code I'm using, as long as it it muted it should work fine.

<video class="video" preload autoplay muted loop playsinline poster="">
   <source src=".mp4" type="video/mp4">
   Sorry, your browser does not support HTML5 video.
</video>

The video autoplay HTML on iOS Safari 14.2 is only available for videos that have no sound or have the audio track disabled. Try the HTML "muted" Attribute (if you don't need the sound).

https://caniuse.com/?search=autoplay

Related