【发布时间】:2014-03-06 14:01:21
【问题描述】:
我正在处理 wordpress 项目,我已经嵌入了一个 Flash 播放器,它在 Fire Fox、Opera、IE9 + IE10 中工作,但在 Google Chrome 动画中不起作用。如果有人知道如何解决这个问题,请告诉我。
<link href="http://banditbuster.com/wp-content/themes/banditbuster/style.css" rel="stylesheet" media="all" type="text/css" />
<!--[if !IE 10]><html id="ie10" <?php language_attributes(); ?><![endif]-->
<div class="main-content flash" style="float: left; width: 100%;" align="center">
<a style="margin-left: -48px; text-decoration: none;" href="home-2"><img alt="" src="http://banditbuster.com/wp-content/themes/banditbuster/images/enter1.png" width="216" height="62" /></a>
<div class="main-intro" style="border-radius: 10px;">
<div style="float: left; width: 100%;">
<div class="fottext" style="position: absolute; margin-top: 36%; text-align: center; width: 100%;"><a style="text-decoration: none;" href="how-bandit-buster-works"><strong style="color: red;"><span style="font-size: xx-large;"> "BANDIT BUSTER SECURITY SYSTEM"</span> </strong></a>
<strong style="color: red;"><span style="font-size: x-large;"> "IF YOU CAN'T SEE IT, SOMEONE CAN AND WILL STEAL IT"</span> </strong></div>
<object id="FlashID" style="border-radius: 10px;" width="1100" height="480" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="swfversion" value="6.0.65.0" /><param name="expressinstall" value="http://banditbuster.com/wp-content/themes/banditbuster/Scripts/expressInstall.swf" /><param name="src" value="http://banditbuster.com/wp-content/themes/banditbuster/intro7.swf" />
<embed src="http://banditbuster.com/wp-content/themes/banditbuster/intro7.swf" quality="high" bgcolor="#ffffff"width="1100" height="480" name="mymoviename" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</object >
</div>
</div>
</div>
【问题讨论】:
-
我不明白
FlashID2、FlashID3等... 为什么你同时 使用带有<object><embed>块的SWFObject? -
来自 Chrome 控制台:
Uncaught SyntaxError: Unexpected token < banditbuster.com/:6
标签: wordpress flash cross-browser