سؤال

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