我如何使这个 Flash 文件自动播放?

How do I make this flash file autplay?

查看此处加载的 Flash 文件:http://www.gameprehacks.com/ad.html

或查看下面的代码

<object type="application/x-shockwave-flash" width="336" height="280" 
data="http://buxle.com/buxle-starsbanner.swf" >
<param name="play" value="true" />
<param name="movie" value="http://buxle.com/buxle-starsbanner.swf" />
<param name="wmode" value="direct" />
<param name="pluginspage" value="http://www.adobe.com/go/getflashplayer" />
<embed type="application/x-shockwave-flash" src="http://buxle.com/buxle-starsbanner.swf" width="336" height="280" wmode="direct" play="true" pluginspage="http://www.adobe.com/go/getflashplayer" />
</object>

它在 Internet Explorer 中正常运行,但在 Chrome 中,该文件有一个播放按钮。我需要这个才能在 Chrome 中自动播放。我怎样才能做到这一点?

非常感谢任何帮助。

谢谢

Chrome 不会自动播放基于 Flash 的广告。很长一段时间都是这样。
看到this article从2015年开始宣布Google的浏览器计划。

无论如何要避免 "Play" 图标:

  • 将 SWF 文件和 HTML 文件放在同一位置。
  • 或...设置较高的宽度和高度以避免看起来像 banner/advert。

如果您的网站也在 HTTPS 服务器上,也请尽可能使用(安全)https:// 链接。

使用增加的 width/height 和基于 HTTPS 的 URL 尝试此版本的代码。这对我有用(但你可以尝试使用 HTTP 链接):

<object type="application/x-shockwave-flash" width="480" height="400" 
data="https://buxle.com/buxle-starsbanner.swf" >
<param name="play" value="true" />
<param name="movie" value="https://buxle.com/buxle-starsbanner.swf" />
<param name="wmode" value="direct" />
<param name="pluginspage" value="https://www.adobe.com/go/getflashplayer" />
<embed type="application/x-shockwave-flash" src="https://buxle.com/buxle-starsbanner.swf" width="336" height="280" wmode="direct" play="true" pluginspage="https://www.adobe.com/go/getflashplayer" />
</object>