quicktime全屏代码???

xeina xeina 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
我在网页中插入了一个quicktime代码如下:


<script language ="JavaScript">

<!--
/* a javascript function that takes a QT movie and calls its "Play" method */
function PlayIt(anObj)
{
anObj.Play();
}
/* a javascript function that takes a QT movie and calls its "Stop" method */
function StopIt(anObj)
{
anObj.Stop();
}
function RewindIt(anObj)
{
anObj.Rewind();
}
function Stepf(anObj)
{
anObj.Step(20);
}
function Stepb(anObj)
{
anObj.Step(-30);
}


//-->

</script>

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" id=movie1 width="350" height="280"
codebase= "http://www.apple.com/qtactivex/qtplugin.cab" >
<param name="autoplay" value=True>
<param name="autohref" value=True>
<param name="target" value="myself">
<param name="href" value="<?=$path?>">
<param name="controller" value="false">
<param name="scale" value="Tofit">

<embed width="360" height="320" EnableJavaSript="true" name="movie1"
autoplay="True" href="<?=$path?>"
Target="Myself" autohref="True"></object>
<a href="javascript:PlayIt(document.movie1);">播放</a>
<a href="javascript:StopIt(document.movie1);">暂停</a>
<a href="javascript:RewindIt(document.movie1);">重播</a>
<a href="javascript:Stepf(document.movie1);">快进</a>
<a href="javascript:Stepb(document.movie1);">快退</a>

我现在还需要一个全屏功能,但找了好多资料,
折腾了一个星期也没做出来
哪位高手能指点一下,我在这先谢了
...全文
评论 15
收藏 已收藏
分享
返回顶部
xeina
基础编程 21,889 成员 140,329 内容