HTML5 视频仅在 IE9 中工作

发布于 2025-01-03 19:28:40 字数 440 浏览 0 评论 0原文

可能的重复:
IE9 HTML5 视频支持

我正在与客户合作,尝试让他们的视频播放器正常工作。除了 IE9 之外,它似乎适用于我可以测试的所有内容。我正在使用 videojs (我尝试过其他的,结果相同)。

看来这是两件事之一。他们的 IIS 服务器上的设置。或者视频文件编码不正确。

这是测试页面:https://vdsc.com/video-js2/demo.html

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

划一舟意中人 2025-01-10 19:28:41

有一个类似的问题,我必须通过我的服务器上的 .htaccess 注册 mime 类型(mp4 以前不起作用)。

.htaccess 文件:

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

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
浮光之海 2025-01-10 19:28:41

很确定是 IIS 设置;尝试添加这些文件扩展名和相应的 MIME 类型:
.webm - “video/webm”

.ogg - “application/ogg”

.ogv - “video/ogg”

.mp4- “video/mp4”

.m4v - “video/m4v”

您可以在这里阅读:http://blog.j6consultants.com.au/2011/01/10/cross-browser-html5-video-running-under-iis-7-5/

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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文