【问题标题】:How do I autoplay this Flash automation for a website?如何为网站自动播放此 Flash 自动化?
【发布时间】:2017-05-11 23:18:51
【问题描述】:

我正在从 localtimes.info/getwidget/20100 获取源代码

我很困惑为什么这个网站的时钟会自动播放,但 when I embed mine, it displays a "Play Button" on my site like this...

这是它提供给我的代码。

<div style="margin: 15px 0px 0px; display: inline-block; text-align: center;">
<div style="display: inline-block; padding: 2px 4px; margin: 0px 0px 5px; border: 1px solid rgb(204, 204, 204); text-align: center; background-color: transparent;">
<a href="http://localtimes.info/difference" style="text-decoration: none; font-size: 13px; color: rgb(255, 255, 255);">World Clock</a></div>
<script type="text/javascript" src="http://localtimes.info/world_clock2.php?&cp1_Hex=ffffff&cp2_Hex=4b4b4b&cp3_Hex=006766&fwdt=88&ham=0&hbg=1&hfg=0&sid=0&mon=0&wek=0&wkf=0&sep=0&widget_number=20100&lcid=UKXX0085,USKY0854,USIN0102,USWI0474,USWA0331"></script></div>

I know I can activate Flash manually here. 但是我怎样才能使它成为我的访问者(如源网站)的全局默认值?

【问题讨论】:

    标签: javascript flash embed


    【解决方案1】:

    “我很困惑为什么这个网站的时钟会自动播放,但是当我嵌入我的时钟时,它会在我的网站上显示一个像这样的“播放按钮”。”

    因为两件事:显示尺寸和 Flash 应用来自外部服务器

    可能的解决方案(选择 A 或 B):

    (A) - 从您自己的服务器(与您的 html 文件相同的位置)运行 Flash 应用程序(swf 文件)。

    (B) - 将显示尺寸增加到最小 800 x 600。

    【讨论】:

      猜你喜欢
      • 2015-11-24
      • 1970-01-01
      • 2014-12-13
      • 1970-01-01
      • 1970-01-01
      • 2017-11-28
      • 2011-10-29
      • 2017-11-12
      • 2017-03-12
      相关资源
      最近更新 更多