0
votes

I have been doing some research into what is possible, as far as I can tell

Autoplay

Possible to autostart videos on early versions of IOS http://www.codeblog.co/getting-autoplay-working-on-ios/ although this no longer works on current version (exact version it stopped working I don't know). Behaviour seems to be the same on both the iPad and iPhone?

Playing video in page

On the iPhone videos always pop out to player, its not possible to play in page.

However is possible to play videos in page on the iPad - have tried out the videos on here and they do play inline. http://www.html5rocks.com/en/tutorials/video/basics/

Playing as intro video

May be able to do an enter now button for the site with below code to trigger

<input type="button" value="Play" onClick="document.myMovie.play()">

https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html#//apple_ref/doc/uid/TP40009523-CH5-SW10

Could then on iPad make this take the full screen in page in website and use js to detect when the video finishes. Am thinking on iPhone may not be possible to detect when video finishes?

Can anyone clarify what is possible?

As much as I know intro video aren't too popular, this is a requirement for the site.

2

2 Answers

0
votes

Automatic play is not possible on iOS as fas sa I'm aware. They removed support on purpose to stop people from doing it.

Any playback now requires the user to actually specify for the video to play, so providing a button to play it should be fine?

0
votes

Can't you keep your video in the bundle and play it with MPMovieePlayer.Then you won't need to autoplay the video,the video will be played autometically itself.As I do the same thing.