0

当我在我的网站上嵌入“令人上瘾的游戏”Flash 游戏时,它们只是出现白色并说电影未加载。Addicting Games 提供了一个简单的嵌入链接,只需复制到您的网站,但它不适用于我的任何计算机、浏览器等...

这是链接http://www.zentenialgames.com/infectionator.html

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0"
id="gameObject" width="700" height="500"><param name="movie"
value="/newGames/strategy-games/infectionator/infectionator_w.swf"/><param
name="menu" value="false"/><param name="allowscriptaccess"
value="samedomain"/><param name="allownetworking" value="all"/><embed
src="/newGames/strategy-games/infectionator/infectionator_w.swf"
width="700" height="500" menu="false"  allowscriptaccess="samedomain"
allownetworking="all" name="gameObject"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object><span
style="font-size:11px;"><br/><a href=""
style="font-size:11px;">Games</a>:<a
href="http://www.addictinggames.com/strategy-games/index.jsp"
style="font-size:11px;">Play Strategy Games on
AddictingGames</a><br/><a
href="http://www.addictinggames.com/legal/terms-use.jsp"
style="font-size:11px;">Terms of Use</a> | <a
href="http://www.addictinggames.com/legal/copyright.jsp"
style="font-size:11px;">© 2012 Atom Entertainment, Inc., a subsidiary
of Viacom International Inc. All Rights Reserved.</a></span>
4

1 回答 1

1

用以下代码替换您的代码

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" id="gameObject" width="700" height="500"><param name="movie" value="/newGames/strategy-games/infectionator/infectionator_w.swf"/><param name="menu" value="false"/><param name="allowscriptaccess" value="samedomain"/><param name="allownetworking" value="all"/><embed src="/newGames/strategy-games/infectionator/infectionator_w.swf" width="700" height="500" menu="false"  allowscriptaccess="samedomain" allownetworking="all" name="gameObject" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object><span style="font-size:11px;"><br/><a href="" style="font-size:11px;">Games</a>:<a href="http://www.addictinggames.com/strategy-games/index.jsp" style="font-size:11px;">Play Strategy Games on AddictingGames</a><br/><a href="http://www.addictinggames.com/legal/terms-use.jsp" style="font-size:11px;">Terms of Use</a> | <a href="http://www.addictinggames.com/legal/copyright.jsp" style="font-size:11px;">&copy; 2012 Atom Entertainment, Inc., a subsidiary of Viacom International Inc. All Rights Reserved.</a></span>

您在代码中的 2 个位置缺少“ http://addictinggames.com/ ”。

一个是'value="/newGames/strategy-games/infectionator/infectionator_w.swf"'

另一个地方是 'src="/newGames/strategy-games/infectionator/infectionator_w.swf"'

于 2012-05-30T16:21:10.373 回答