使用boboplayer控件播放real类文件

来源:互联网 发布:java中级面试题 编辑:程序博客网 时间:2024/06/07 19:06

   
<Object id="BoBo" width=100% height=100% classid='clsid:EC0978ED-24E3-403C-AB7A-060E388553E6' codebase='http://www.17bobo.com/Software/BoBo_ActiveX_V3.ocx'>
<PARAM NAME="MaxLinkCount"      VALUE=100>
<PARAM NAME="MaxCacheTimeS"     VALUE=120>
<PARAM NAME="MinCacheTimeS"     VALUE=60>
<PARAM NAME="MaxCacheSizeMB"    VALUE=150>
<PARAM NAME="EnabledTcpTurbo"   VALUE=0>
<PARAM NAME="DragWorking" VALUE=1>
<PARAM NAME="MaintainAspect"    VALUE=0>
<PARAM NAME="EnableTurbo" VALUE=0>
<PARAM NAME="ActName"   VALUE="test.rmvb">
<PARAM NAME="AutoPlay" VALUE=0>
</Object>
 <input type=file id=filePath><input type=button value=载入 onclick="loadVideo()">
 <script>
 function loadVideo()
 {
   BoBo.DoPlay(filePath.value);
 }
 </script>

原创粉丝点击