html - Flash 在 Chrome、FF、Safari 上不工作,但在 IE 上工作

标签 html css flash google-chrome

我犯了一个巨大的错误,那就是获取模板而不是自己开发。现在我已经缩小了问题的范围——首先,我认为这是实际闪存文件的问题。现在我意识到,每次我在 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 上运行良好,但在其他方面却一无是处,这是我在网上从未见过的一个转折点。

感谢您提供的任何反馈。

最佳答案

我确定这个答案已经在这里,但我会发布一个我一直使用的通用代码。 只需放置整个 block 并更改相关值、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>

关于html - Flash 在 Chrome、FF、Safari 上不工作,但在 IE 上工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18966985/

相关文章:

javascript - MUI - 单击复选框标签中的链接

html - 奇怪而行出现在 html 中

html - Style.display ="inline"以不需要的方式显示表格行,有什么办法可以解决吗?

javascript - 将测试选项与相应的 `radio` 按钮对齐

javascript - 在全屏页面滚动时将图像添加到页面

javascript - 如何检查 Flash 是否可以从 javascript 安装在浏览器中

flash - java中如何确定包名,为什么 "com"作为root?

android - 我怎么知道用户触摸了哪里?(AIR for android)

html - WordPress CSS : Issue with wrapping text in news feed

css - 自举网格列之间的长间隙