How to make my HTML5 video player on iPad, like filmon.com?

I am trying to create an HTML5 video player to automatically start streaming video. I searched a lot, but did not achieve my goal.

Then I found www.filmon.com where all the videos start playing automatically on the iPad.

Does anyone know how they did this? I looked at their JS files, but I can not start my launch automatically.

+3
source share
2 answers

Apple specifically turned off each method and workaround for automatically playing videos on iPads and iPhones (the "auto play" attribute and Javascript solutions, such as launching the "onclick" hidden link).

iPad, , Apple , . : " Safari iPhone OS ( , iPad), , . , ."

Filmon.com , iPad. : http://demand.filmon.com/distant-roads-173-cnd-ontario-ca-1 Chrome, iPad.

+6

, iphone ipad - .

, script ? :

window.onload=function(){
  var audio = document.getElementById('audio');
  audio.play();
}
-2

All Articles