HTML对象-将视频放入网页-无法停止自动启动
好的.. 在将两个 SWF 视频放入网站以完成我的大学作业时遇到了一些真正的麻烦。我无法阻止视频自动启动,我已将自动启动参数设置为 false,但仍然没有运气。
<div id="video">
<br /><br />
<span class="maincontentttitle">Touchè!</span><br /><br />
<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
WIDTH="425"
HEIGHT="349"
CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">
<PARAM NAME="MOVIE" VALUE="video1.swf">
<PARAM NAME="PLAY" VALUE="true">
<PARAM NAME="LOOP" VALUE="true">
<PARAM NAME="QUALITY" VALUE="high">
<PARAM NAME="SCALE" value="noborder">
<PARAM NAME="AUTOSTART" value="false">
<EMBED SRC="video1.swf"
WIDTH="425"
HEIGHT="349"
PLAY="true"
LOOP="true"
QUALITY="high"
scale="noborder"
AUTOSTART="false"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
<br /><br />
<span class="maincontentttitle">Students On Politics</span>
<br /><br />
<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
WIDTH="647"
HEIGHT="364"
CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">
<PARAM NAME="MOVIE" VALUE="video2.swf">
<PARAM NAME="PLAY" VALUE="true">
<PARAM NAME="LOOP" VALUE="true">
<PARAM NAME="QUALITY" VALUE="high">
<PARAM NAME="SCALE" value="noborder">
<PARAM NAME="AUTOSTART" value="false">
<EMBED SRC="video2.swf"
WIDTH="647"
HEIGHT="364"
PLAY="true"
LOOP="true"
QUALITY="high"
scale="noborder"
AUTOSTART="false"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
如果您能提供帮助,请提前致谢!
Ok.. having some real trouble putting two SWF videos into a website for my uni assignment. I can't stop the videos from autostarting, I have set the autostart parameter to false but still no luck
<div id="video">
<br /><br />
<span class="maincontentttitle">Touchè!</span><br /><br />
<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
WIDTH="425"
HEIGHT="349"
CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">
<PARAM NAME="MOVIE" VALUE="video1.swf">
<PARAM NAME="PLAY" VALUE="true">
<PARAM NAME="LOOP" VALUE="true">
<PARAM NAME="QUALITY" VALUE="high">
<PARAM NAME="SCALE" value="noborder">
<PARAM NAME="AUTOSTART" value="false">
<EMBED SRC="video1.swf"
WIDTH="425"
HEIGHT="349"
PLAY="true"
LOOP="true"
QUALITY="high"
scale="noborder"
AUTOSTART="false"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
<br /><br />
<span class="maincontentttitle">Students On Politics</span>
<br /><br />
<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
WIDTH="647"
HEIGHT="364"
CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">
<PARAM NAME="MOVIE" VALUE="video2.swf">
<PARAM NAME="PLAY" VALUE="true">
<PARAM NAME="LOOP" VALUE="true">
<PARAM NAME="QUALITY" VALUE="high">
<PARAM NAME="SCALE" value="noborder">
<PARAM NAME="AUTOSTART" value="false">
<EMBED SRC="video2.swf"
WIDTH="647"
HEIGHT="364"
PLAY="true"
LOOP="true"
QUALITY="high"
scale="noborder"
AUTOSTART="false"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
Thank you in advance if you are able to help!!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您有权访问 FLA 文件,则可以在第一帧上放置一个停止操作,并在有人单击播放按钮时放置一个侦听器事件,然后在触发该事件时启动视频。然后视频将位于第二帧。
不然我真的不知道。您所做的应该会阻止它自动播放。
If you have access to the FLA file you could just put a stop action on the first frame and a listener event for when someone clicks the play button, and then start the video when the event is triggered. The video would then be on the 2nd frame.
Otherwise i really don't know. What you have done should stop it from autoplaying.