質問

I'm trying to embed a video using the HTML5 video tag. It seems to work in all desktop browsers but apparently it's not working on iPad. Here's what I have:

<video width="352" autoplay="autoplay" loop="loop">
    <source src="ytzeyoy2.webm" type='video/webm'/>
    <source src="y0lr4gep.ogv" type='video/ogg'/>
    <source src="1e-mvpwv.mp4" type='video/mp4'/>
</video>

The videos all play in VLC. The .MP4 is h264 which as I understand should work on iPad.

役に立ちましたか?

解決

Apparently its a MimeType issue Check this link for more information

I found it here

Have a nice day :)

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top