0

我使用 DW 生成的代码嵌入了一个 FLV 文件,它在 IE 中不起作用,但在 Firefox 和 Safari 中可以播放。它甚至可以在我桌面上的 IE 中播放,只是不直播。实际站点http://business.queensu.ca/centres/qcbv/bsme/feature_ihg.php

这是我的代码:

  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="720" height="400" id="FLVPlayer">
      <param name="movie" value="FLVPlayer_Progressive.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="scale" value="noscale" />
      <param name="salign" value="lt" />
      <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_1&amp;streamName=files/IHG_V4&amp;autoPlay=true&amp;autoRewind=false" />
      <param name="swfversion" value="8,0,0,0" />
      <!-- 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="FLVPlayer_Progressive.swf" width="720" height="400">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="scale" value="noscale" />
        <param name="salign" value="lt" />
        <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_1&amp;streamName=files/IHG_V4&amp;autoPlay=true&amp;autoRewind=false" />
        <param name="swfversion" value="8,0,0,0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>

        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
4

1 回答 1

0

您可以尝试在代码中添加IE 兼容模式元标记。这将告诉 IE 它应该使用 IE8 模式还是 IE9 模式。这可能会解决您的问题。

使用代码:

 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >
于 2012-05-07T17:52:01.173 回答