嵌入式FLV在Fire Fox和Safari中播放,但不是IE

时间:2012-05-04 18:58:16

标签: internet-explorer flv

我使用DW生成的代码嵌入了一个FLV文件,它在IE中不起作用,但它确实在Firefox&苹果浏览器。它甚至可以在桌面上播放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>

1 个答案:

答案 0 :(得分:0)

您可以尝试在代码中添加IE Compatibility Mode Meta Tag。这将告诉IE它应该使用IE8模式或IE9模式。这可能会解决你的问题。

使用代码:

 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >