Firefox不会播放我的.swf文件

时间:2016-05-07 00:59:16

标签: html flash

我试图让我的Flash动画在Firefox中运行。它在Chrome和Internet Explorer中都运行良好,但是当我在FF中打开网页时,它无法加载。问题是什么?我真的很难过。我还检查了我的浏览器是否在播放Flash时遇到任何问题,但它确实有效。

以下是该网站的链接:http://mason.gmu.edu/~klee49/dees_peanuts/about_us.html

以下是代码:

 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="600" id="FlashID" title="Dee's Peanuts Company Animation">
    <param name="movie" value="assets/deespeanutsanimation.swf" />
  <param name="quality" value="high" />
  <param name="wmode" value="opaque" />
  <param name="swfversion" value="10" />
  <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
  <param name="expressinstall" value="Scripts/expressInstall.swf" />
  <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
  <!--[if !IE]>-->
  <object type="application/x-shockwave-flash" data="assets/deespeanutsanimation.swf" width="800" height="600">
    <!--<![endif]-->
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="10" />
    <param name="expressinstall" value="Scripts/expressInstall.swf" />
    <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
    <div>
      <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
      <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="800" height="600" /></a></p>
    </div>
    <!--[if !IE]>-->
  </object>
  <!--<![endif]-->
</object>  

感谢您的帮助。

编辑:嗨,对于将来遇到此问题的人,我通过使用iframe标记而不是对象来管理解决方法。

  <iframe src="assets/deespeanutsanimation.swf" width="640" height="480" title="Dee's Peanuts Company" border="0" /></iframe> 

0 个答案:

没有答案