HTML5 Video not working only in IE9 [duplicate]

偶尔善良 提交于 2019-12-12 11:30:24

问题


Possible Duplicate:
IE9 HTML5 video support

I am working with a client to try and get their video player working. It seems to work in everything that I can test in except IE9. I'm using videojs (I've tried other ones and the same result).

It seems to be that it's one of 2 things. A setting on their IIS server. Or the video file isn't encoded correctly.

Here's the test page: https://vdsc.com/video-js2/demo.html


回答1:


had a similiar issue, and i had to register the mime types via .htaccess on my server (mp4 didn t work before).

.htaccess-file:

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



回答2:


pretty sure its the IIS settings; try adding these file name extensions and corresponding MIME types: .webm – “video/webm”

.ogg - “application/ogg”

.ogv - “video/ogg”

.mp4- “video/mp4″

.m4v - “video/m4v”

you can read about it here: http://blog.j6consultants.com.au/2011/01/10/cross-browser-html5-video-running-under-iis-7-5/



来源:https://stackoverflow.com/questions/9220537/html5-video-not-working-only-in-ie9

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!