如何阻止该视频在我的博客上自动播放?我已经尝试了一切
< 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,Flash 影片需要在第一个场景的第一帧中有一个
stop();
操作,以便不立即播放,无论stop();
中的参数是什么。 code>一种可能的解决方法是尝试截取 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 theplay();
command when the viewer clicks on it. I'm not sure that you can do anything about it without owning the original .fla file.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