请问用JSP代码怎么写播放器啊?
2个回答
展开全部
这么复杂的问题你居然不给分,那我就只给个代码,不解释,这是在前台显示播放器播放音乐的。后台自己琢磨吧。
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" codebase=",0,29,0 id="WindowsMediaPlayer1">
<param name="URL" value="yueguangbaohe.rmvb">
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentPosition" value="0">
<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="50">
<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">
</object>
要换浏览器改codebase就可以了,不过没试过,自己找找看哪个浏览器适合
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" codebase=",0,29,0 id="WindowsMediaPlayer1">
<param name="URL" value="yueguangbaohe.rmvb">
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentPosition" value="0">
<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="50">
<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">
</object>
要换浏览器改codebase就可以了,不过没试过,自己找找看哪个浏览器适合
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询