【问题标题】:Embedding "Addicting Games" Flash Games on Website在网站上嵌入“上瘾游戏”Flash 游戏
【发布时间】:2012-06-04 20:01:24
【问题描述】:

当我在我的网站上嵌入“令人上瘾的游戏”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>

【问题讨论】:

    标签: html flash web embed


    【解决方案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-09-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多