video.js视频卡在IE9和IE10中,在Mac Safari上加倍 [英] video.js videos get stuck in IE9 and IE10, double length on Mac Safari

查看:791
本文介绍了video.js视频卡在IE9和IE10中,在Mac Safari上加倍的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的视频似乎适用于大多数平台,包括IE6-7-8,但它们在IE9和IE10的加载屏幕上陷入困境。这种情况发生在本地和网络上。

my videos seem to work on most platforms, including IE6-7-8, but they get stuck at the loading screen with IE9 and IE10. This happens both locally and on the web.

一个较小的问题:在Mac上的最新Safari版本上,它们播放两次,音频仅在视频的第一个实例播放(持续时间加倍)。

A smaller problem: on the latest Safari version on Mac they play twice, with audio playing only during the first instance of the video (the duration is doubled).

无论如何,这里是其中一个视频: http://www.csdalbenga.it/videos/sonnyinterview.html

Anyway, here is one of the videos for instance: http://www.csdalbenga.it/videos/sonnyinterview.html

我已经签出了这个问题: VideoJS播放器卡住了IE9

I have already checked out this question: VideoJS player gets stuck with IE9

但视频实际上是用正确的h264格式编码的,QTIndexSwapper2告诉我视频很好。

but the videos are actually encoded in the correct h264 format and QTIndexSwapper2 tells me the videos are fine.

这似乎是一个特定的问题到video.js,因为如果我使用默认的HTML5视频播放器,视频显示就好了。

It seems to be an issue specific to video.js, because if I use the default HTML5 video player, the video displays just fine.

你有什么建议吗?

编辑:我似乎通过添加来解决这个问题视频的完整路径而不是相对路径。所以我想知道的是,为什么只有IE9和IE10需要完整路径,并且只有当我使用video.js而不是标准视频播放器时?

I seem to have fixed this by adding a full path to the video instead of a relative path. So what I'm wondering is, why is a full path needed only with IE9 and IE10, and only if I use video.js instead of the standard video player?

推荐答案

您可能想要检查您的MIME类型。我有同样的问题,并注意到我忘记为mp4,ogg和webm设置MIME类型。

You might want to check your MIME types. I had this exact same problem, and noticed I had forgotten to set MIME types for mp4, ogg, and webm.

这篇关于video.js视频卡在IE9和IE10中,在Mac Safari上加倍的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆