How to Autoplay HTML5 Mp4 Video on Android

How to autoplay HTML5 mp4 video on Android?

I don't think autoplay works on Android, but getting a video to play can be annoyingly tricky. I suggest giving this article a read: Making HTML5 Video work on Android phones.

HTML5 video (MP4) autoplay not working on Android

My first suspicion would be that the moov atom in your video is not at the start. If you are using ffmpeg to encode the video please see the faststart. flag.https://trac.ffmpeg.org/wiki/Encode/H.264

Autoplay HTML5 video on android (JS)

Ok, since nobody else is answering, for people with a similar struggle the verdict is this:

  • You can't autoplay videos on Android native browsers
  • You can't autoplay videos on iOS 9.x and lower

Though, for Android Chrome browsers the UPDATE #1 should be a guide on how to make autoplay work there.

Happy Coding!

N.B. I would like someone to prove me wrong here



Related Topics



Leave a reply



Submit