07-09
18
在网页中嵌入式播放电影
作者:Java伴侣 日期:2007-09-18
都用的object,所以在firefox 中没戏.不知在firefox中应该如何
这一个是直接放的
<object classid='clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA' width=100% height=100%>
<param name='AUTOSTART' value='1'>
<param name='SRC' value='rtsp://192.168.0.219/mov4/连续剧/星梦缘/01.rmvb'></object>
这一个是想让控制面板在下方,注意<param name="console" value="Clip1">这一句,两个一样才能下面控制.
<object classid='clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA' width=100% height=100%>
<param name="controls" value="ImageWindow">
<param name="console" value="Clip1">
<param name="autostart" value="true">
<param name='SRC' value='rtsp://192.168.0.219/mov4/连续剧/星梦缘/01.rmvb'>
</object>
<OBJECT ID="video2" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=50 width=100%>
<PARAM NAME="controls" VALUE="ControlPanel,StatusBar">
<PARAM NAME="console" VALUE="Clip1">
</OBJECT>
这个是加入全屏按钮.
<object id=real1 classid='clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA' width=100% height=100%>
<param name="controls" value="ImageWindow">
<param name="console" value="Clip1">
<param name="autostart" value="true">
<param name='SRC' value='rtsp://192.168.0.219/mov4/连续剧/星梦缘/01.rmvb'>
</object>
<input type=button onclick=real1.SetFullScreen() style=width:15%;height:50 value=全屏>
<OBJECT ID="video2" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=50 width=85%>
<PARAM NAME="controls" VALUE="ControlPanel,StatusBar">
<PARAM NAME="console" VALUE="Clip1">
</OBJECT>
这一个是直接放的
<object classid='clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA' width=100% height=100%>
<param name='AUTOSTART' value='1'>
<param name='SRC' value='rtsp://192.168.0.219/mov4/连续剧/星梦缘/01.rmvb'></object>
这一个是想让控制面板在下方,注意<param name="console" value="Clip1">这一句,两个一样才能下面控制.
<object classid='clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA' width=100% height=100%>
<param name="controls" value="ImageWindow">
<param name="console" value="Clip1">
<param name="autostart" value="true">
<param name='SRC' value='rtsp://192.168.0.219/mov4/连续剧/星梦缘/01.rmvb'>
</object>
<OBJECT ID="video2" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=50 width=100%>
<PARAM NAME="controls" VALUE="ControlPanel,StatusBar">
<PARAM NAME="console" VALUE="Clip1">
</OBJECT>
这个是加入全屏按钮.
<object id=real1 classid='clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA' width=100% height=100%>
<param name="controls" value="ImageWindow">
<param name="console" value="Clip1">
<param name="autostart" value="true">
<param name='SRC' value='rtsp://192.168.0.219/mov4/连续剧/星梦缘/01.rmvb'>
</object>
<input type=button onclick=real1.SetFullScreen() style=width:15%;height:50 value=全屏>
<OBJECT ID="video2" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=50 width=85%>
<PARAM NAME="controls" VALUE="ControlPanel,StatusBar">
<PARAM NAME="console" VALUE="Clip1">
</OBJECT>
评论: 0 | 引用: 0 | 查看次数: 575
发表评论