【问题标题】:VideoJS: .flv not playing in IEVideoJS:.flv 不在 IE 中播放
【发布时间】:2012-12-13 21:30:03
【问题描述】:

我正在使用 VideoJS(一个 jQuery 视频播放器)。当我将.flv 文件添加到播放器时,VideoJS 元素在 Firefox/Chrome/Opera 中有效,但在 Internet Explorer 中失败。

如何才能让视频在 Internet Explorer 9 中正常播放?

HTML 代码:

<video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="640" height="264"
      poster="http://video-js.zencoder.com/oceans-clip.png"
      data-setup="{}">
    <source src="http://klaus.geekserver.net/ming-video/test.flv" type='video/mp4' />
</video>

我已经发布了一个 JSFiddle 示例 here

【问题讨论】:

    标签: jquery html5-video


    【解决方案1】:

    我知道我迟到了,但如果您仍在寻找答案,这将对您有所帮助。

    在您的源标签中,将类型从 video/mp4 更改为 video/flv,您就可以开始了。

    这是代码示例

    &lt;source src="http://klaus.geekserver.net/ming-video/test.flv" type='video/flv' /&gt;

    【讨论】:

      【解决方案2】:

      我必须在 ie8 上升级我的 Flash 播放器。

      另一件事可能是这样的: videojs Flash Fallback Not Working In IE8

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2011-12-21
        • 2023-03-06
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-10-16
        • 1970-01-01
        相关资源
        最近更新 更多