开发者

IE9 doesn't support <video> tag?

I'm trying to use the HTML5 video tag to display a video and it works in every browser except IE9, which shows "Your browser does not support the video tag." Tried adding a .htaccess with these 3 lines:

AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm

but that didn't work. I don't want to use JWPlayer or anything else, simply because I shouldn't have to. 开发者_运维问答Here's the HTML:

<video width="480" heigth="320" controls="controls">
    <source src="videos/test.mp4" type="video/mp4" />
    <source src="videos/test.webm" type="video/webm" />
    <source src="videos/test.ogg" type="video/ogg" />
    Your browser does not support the video tag.
</video>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜