quicktime全屏代码???
xeina 2004-06-29 01:20:51 我在网页中插入了一个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>
我现在还需要一个全屏功能,但找了好多资料,
折腾了一个星期也没做出来
哪位高手能指点一下,我在这先谢了