如何阻止该视频在我的博客上自动播放?我已经尝试了一切

发布于 2024-12-07 13:53:31 字数 857 浏览 1 评论 0原文

< object id="flashobject" type="application/x-shockwave-flash" allowScriptAccess="always" 
  allowFullScreen="true" allowNetworking="all" height="442" width="720" 
  data="http://www.thedoctorstv.com/UMInterface_Tremor.swf?at=01823b09-1298-4bc6-a9fe-b70810b73213">
  <param name="quality" value="high" />
  <param name="allowScriptAccess" value="always" />
  <param name="allowFullScreen" value="true" />
  <param name="allowNetworking" value="all" />
  <param name="movie" value="http://www.thedoctorstv.com/UMInterface_Tremor.swf?at=01823b09-1298-4bc6-a9fe-b70810b73213" />
  <param name="flashvars"
  value="programID=4ded41f8b81bc&config=http://r.unicornmedia.com/embed/01823b09-1298-4bc6-a9fe-b70810b73213?view=item%26view_id=4d91c6ec-dcaf-4861-939d-2c57052d1ab5" /></object>
< object id="flashobject" type="application/x-shockwave-flash" allowScriptAccess="always" 
  allowFullScreen="true" allowNetworking="all" height="442" width="720" 
  data="http://www.thedoctorstv.com/UMInterface_Tremor.swf?at=01823b09-1298-4bc6-a9fe-b70810b73213">
  <param name="quality" value="high" />
  <param name="allowScriptAccess" value="always" />
  <param name="allowFullScreen" value="true" />
  <param name="allowNetworking" value="all" />
  <param name="movie" value="http://www.thedoctorstv.com/UMInterface_Tremor.swf?at=01823b09-1298-4bc6-a9fe-b70810b73213" />
  <param name="flashvars"
  value="programID=4ded41f8b81bc&config=http://r.unicornmedia.com/embed/01823b09-1298-4bc6-a9fe-b70810b73213?view=item%26view_id=4d91c6ec-dcaf-4861-939d-2c57052d1ab5" /></object>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

月野兔 2024-12-14 13:53:31

据我所知,Flash 影片需要在第一个场景的第一帧中有一个 stop(); 操作,以便不立即播放,无论 stop(); 中的参数是什么。 code>标签。此外,还需要在整个 Flash 影片上添加一个按钮热点,当观看者单击它时,该按钮热点将启动 play(); 命令。我不确定如果不拥有原始 .fla 文件,您是否可以对此做任何事情。

on (release){
play();
}

一种可能的解决方法是尝试截取 Flash 影片的第一帧并从中制作静态图像。然后尝试找到一个可以在单击时“交换”内容的脚本。将静态图像放在页面上,并在查看者单击时将其“交换”到 Flash 内容。

来源:http://www.dynamicdrive.com/forums/showthread.php?t =15583

As far as I know, flash movie will need to have a stop(); action in the first frame of the first scene in order to not play right away, regardless of what the parameters say in the <object> tag. Additionally, a button hotspot would need to be added over the entire flash movie that initates the play(); command when the viewer clicks on it. I'm not sure that you can do anything about it without owning the original .fla file.

on (release){
play();
}

A possible work around would be to try and screenshot the first frame of the flash movie and make a static image out of it. Then try to find a script that "swaps" content on a click. Put the static image on your page and have it "swap" to the flash content when the viewer clicks.

Source: http://www.dynamicdrive.com/forums/showthread.php?t=15583

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文