为什么HTML5 mp4视频的Flash后备不起作用?

时间:2014-02-28 13:59:04

标签: javascript html html5 flash

我有本地的html页面(html5)。 Html - 这是我看到的坏事之一。

  <video src="kinopoisk2013.mp4" controls>
    <object data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" type="application/x-shockwave-flash">
      <param value="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" name="movie"/>
    </object>
  </video>

我需要,如果浏览器不支持mp4格式,他会通过HTML打开此视频。但它不起作用,例如在Opera(我有Flash播放器插件)。

我怎样才能让它发挥作用?我需要在这里写道:object data="param value="

Adob​​e Flash Player与此播放器http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf和此文件有什么区别.swf?

我的网站http://camendesign.com/code/video_for_everybody#notes的自适应代码无效

<!DOCTYPE html>
<html>
<meta charset="UTF-8">
  <body>
    <h1> Flash Video player</h1>
    <p>FIle: kinopoisk2013.mp4</p>

    <video width="640" height="360" controls>
        <object width="640" height="360" type="application/x-shockwave-flash" data="jwplayer.swf">
            <param name="movie" value="jwplayer.swf" />
            <param name="flashvars" value="controlbar=over&amp;image=kinopoisk2013.png&amp;file=kinopoisk2013.mp4" />
            <img src="kinopoisk2013.png" width="640" height="360" alt="kinopoisk2013"
                 title="No video playback capabilities, please download the video below" />
        </object>
    </video>
    <p> <strong>Download Video:</strong>
        Closed Format:  <a href="kinopoisk2013.mp4">"MP4"</a>
    </p>
  </body>
</html>

1 个答案:

答案 0 :(得分:2)

您可能需要查看Video for everybody