2

Is it possible to get HTML5 Videos to auto play on iPads?

I thought that it wasn't due to restrictions on iOS, but then I tried BBC iPlayer on my iPad it seems like the videos do auto play when you load them.

Does this mean that it is possible? Perhaps they using some kind of workaround?

shrewdbeans
  • 11,971
  • 23
  • 69
  • 115

2 Answers2

2

You can't autoplay on iOS, playback must be user-initiated from a UI event handler (like a touch action or a click). See apple's documentation. I suspect the iPlayer uses a single touch/click event handler to load the video and start playback.

Steve Pick
  • 186
  • 1
  • 5
0

Well I know when designing for Browsers you go:

<video controls="controls" autoplay>
<!--source here-->
</video>

Well if that doesn't work try using some javascript...