当我在我的网站上嵌入“上瘾游戏”Flash游戏时,他们只是出现白色并说电影没有加载。上瘾游戏提供了一个简单的嵌入链接,只需复制到您的网站,但它不适用于我的任何计算机,浏览器等......
以下是链接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>
答案 0 :(得分: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;">© 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”'