簡體   English   中英

Flash無法在Chrome,FF,Safari上運行,但可以在IE上運行

[英]Flash not working on Chrome, FF, Safari, but it is working on IE

我犯了一個巨大的錯誤,那就是獲取模板而不是自己開發。 現在,我縮小了范圍-首先,我認為這是實際Flash文件的問題。 現在,我意識到,每次在HTML編輯器中更改圖像時,這對我來說就沒有邏輯意義。 這是Flash文件的代碼:

<body id="page1" onload="new ElementMaxHeight()">
   <div id="main">
   <!-- header --> 
   <div id="header">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="download.macromedia.com/pub/shockwave/cabs/flash/…; width="940" height="417"></object><!----> <![endif]-->
   </div>
   <!-- content --> 
   <div id="content">

再說一次,它在IE上效果很好,但沒有別的,這是我在網上從未見過的一個轉折。

感謝您提供的任何反饋。

我肯定這個答案已經在這里,但我會發布我經常使用的通用代碼。 只需放置整個塊並更改相關值,swf屬性即可。

     <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="950" height="377">
         <param name="movie" value="myMovie.swf">
         <param name="quality" value="high">
         <param name="wmode" value="direct" >
         <param name="swfversion" value="6.0.65.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">
         <param name="SCALE" value="noborder">
         <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
             <!--[if !IE]>-->
         <object type="application/x-shockwave-flash" data="myMovie.swf" width="950" height="377">
         <!--<![endif]-->
         <param name="quality" value="high">
         <param name="wmode" value="direct" >
         <param name="swfversion" value="6.0.65.0">
         <param name="expressinstall" value="Scripts/expressInstall.swf">
         <param name="SCALE" value="noborder">
         <!-- 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" /></a></p>
        </div>
        <!--[if !IE]>-->
        </object>
            <!--<![endif]-->
     </object>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM