HTML对象-将视频放入网页-无法停止自动启动

发布于 2024-10-24 05:14:00 字数 2566 浏览 2 评论 0原文

好的.. 在将两个 SWF 视频放入网站以完成我的大学作业时遇到了一些真正的麻烦。我无法阻止视频自动启动,我已将自动启动参数设置为 false,但仍然没有运气。

<div id="video">
<br /><br />
    <span class="maincontentttitle">Touch&egrave;!</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 技术交流群。

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

发布评论

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

评论(1

很酷不放纵 2024-10-31 05:14:00

如果您有权访问 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.

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