日期:2014-05-18  浏览次数:20754 次

急!jsp里面嵌入media player,怎么样拖动进度条啊?
jsp里面嵌入media   player,怎么样拖动进度条啊?
我用jsp写了一个播放视频和mp3的网页,但是无法拖动进度条,请问怎么样实现啊?   我的代码如下:
<OBJECT   id=MediaPlayer1   codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading   type=application/x-oleobject   height=350   width=350   classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6   VIEWASTEXT>
<PARAM   NAME= "URL "   VALUE= "StreamPlayerT?sresid= <%=sresid%> ">
<PARAM   NAME= "rate "   VALUE= "1 ">
<PARAM   NAME= "balance "   VALUE= "0 ">
<PARAM   NAME= "currentPosition "   VALUE= "-1 ">
<PARAM   NAME= "defaultFrame "   VALUE= " ">
<PARAM   NAME= "playCount "   VALUE= "1 ">
<PARAM   NAME= "autoStart "   VALUE= "-1 ">
<PARAM   NAME= "currentMarker "   VALUE= "0 ">
<PARAM   NAME= "invokeURLs "   VALUE= "-1 ">
<PARAM   NAME= "baseURL "   VALUE= " ">
<PARAM   NAME= "volume "   VALUE= "70 ">
<PARAM   NAME= "mute "   VALUE= "0 ">
<PARAM   NAME= "uiMode "   VALUE= "full ">
<PARAM   NAME= "stretchToFit "   VALUE= "0 ">
<PARAM   NAME= "windowlessVideo "   VALUE= "0 ">
<PARAM   NAME= "enabled "   VALUE= "-1 ">
<PARAM   NAME= "enableContextMenu "   VALUE= "-1 ">
<PARAM   NAME= "fullScreen "   VALUE= "0 ">
<PARAM   NAME= "SAMIStyle "   VALUE= " ">
<PARAM   NAME= "SAMILang "   VALUE= " ">
<PARAM   NAME= "SAMIFilename "   VALUE= " ">
<PARAM   NAME= "captioningID "   VALUE= " ">
<PARAM   NAME= "enableErrorDialogs "   VALUE= "0 ">
<param   name= "EnableTracker "   value= "-1 ">
<PARAM   NAME= "_cx "   VALUE= "13229 ">
<PARAM   NAME= "_cy "   VALUE= "13229 ">
</OBJECT>

------解决方案--------------------
用脚本来弄,看media player相关的SDK吧,暴露有ActiveX供脚本调用的
------解决方案--------------------
没做过,友情顶贴
------解决方案--------------------
对,看看sdk
------解决方案--------------------
不懂 SDK偶会一点,感觉跟这个也没多大关系`````````
应该有成熟的列子吧 帮UP```````
------解决方案--------------------
直接在微软网站上去找,有例子的,是用javascript来实现的

------解决方案--------------------
没做过。。。。UP