Try the code
<video id="movie" width="" height="" preload controls> <source id="srcMp4" src="video.mp4" /> <source id="srcOgg" src="video.ogg" /> <object id="flowplayer" name="flowplayer" width="480" height="352" data="http://releases.flowplayer.org/swf/flowplayer-3.2.5.swf" type="application/x-shockwave-flash"> <param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.5.swf" /> <param name="allowfullscreen" value="true" /> <param name="flashvars" value='config={"clip":"http://domain.com/video.flv"}' /> </object> </video>
MP4 format is provided primarily due to a previous error in the iPad, which only the first source sees.
If the browser cannot play the MP4 version, it tries to download the Ogg version. If this fails, it uses Flowplayer (flash) as fallback.s
source share