문제

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