HTML5 Video Player logo
HTML5 Video Player for Mac and Windows

HTML5 Video Autoplay iPad iPhone

In an earlier article we talked about how to enable HTML5 Video Autoplay, soon after that we received many feedback from our HTML 5 video player users saying that the HTML5 video autoplay works fine on computers but not on an iPad or iPhone.

It is true the HTML5 video autoplay attribute won’t work in Mobile Safari or iOS Safari. This was intentionally disabled by Apple ().

Why HTML5 Video Autoplay not work on iPad or iPhone?

“In Safari on iPhone OS (for all devices, including iPad), where the user may be on a cellular network and be charged per data unit, autobuffering and autoplay are disabled. No data is loaded until the user initiates it. This means the JavaScript play() and load() methods are also inactive until the user initiates playback, unless the play() method is triggered by user action.”

We have seen some tricks to enable html5 video autoplay on iPad or html5 video autoplay on iPhone by cheating the Safari browser on the web. However for users’ sake, we will not abuse such technique. Apple prevented html5 video autoplay on iPad and iPhone for a reason which we believe is good for most iOS users.

“To prevent unsolicited downloads over cellular networks at the user’s expense, embedded media cannot be played automatically in Safari on iOS—the user always initiates playback.”

, ,

Comments are currently closed.