当前位置: 代码迷 >> Java Web开发 >> 在JSP中用windows media player怎样实现多首歌曲自动循环播放?该如何处理
  详细解决方案

在JSP中用windows media player怎样实现多首歌曲自动循环播放?该如何处理

热度:79   发布时间:2016-04-17 14:09:57.0
在JSP中用windows media player怎样实现多首歌曲自动循环播放?
我的以下代码只能实现单曲自动循环播放:
<object   id= "MediaPlayer1 "   width= "240 "   height= "68 "   classid= "CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 "  
  codebase= "http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 "  
  align= "baseline "   border= "0 "   standby= "Loading   Microsoft   Windows   Media   Player   components... "  
  type= "application/x-oleobject ">
<param   name= "invokeURLs "   value= "0 "/>
<param   name= "FileName "   value= "http://soft.splife.com/dn/vip/0501/wqs.mp3 "/>
<param   name= "ShowControls "   value= "1 "/>
<param   name= "ShowPositionControls "   value= "0 "/>
<param   name= "ShowAudioControls "   value= "1 "/>
<param   name= "ShowTracker "   value= "1 "/>
<param   name= "ShowDisplay "   value= "0 "/>
<param   name= "ShowStatusBar "   value= "1 "/>
<param   name= "AutoSize "   value= "0 "/>
<param   name= "ShowGotoBar "   value= "0 "/>
<param   name= "ShowCaptioning "   value= "0 "/>
<param   name= "AutoStart "   value= "1 "/>
<param   name= "PlayCount "   value= "0 "/>
<param   name= "AutoRewind "   value=0/>
<param   name= "Balance "   value= "0 "/>
<param   name= "AnimationAtStart "   value= "0 "/>
<param   name= "TransparentAtStart "   value= "0 "/>
<param   name= "AllowScan "   value= "0 "/>
<param   name= "EnableContextMenu "   value= "1 "/>
<param   name= "ClickToPlay "   value= "0 "/>
<param   name= "DefaultFrame "   value= "datawindow "/>
<param   name= "loop "   value= "true "/>
<embed   src= "http://jnez.fjjnjy.com.cn/images/uploadfiles/20070104035248.mp3,http://soft.splife.com/dn/vip/0501/wqs.mp3 "   loop= "true "   align= "baseline "   border= "0 "   width= "350 "   height= "68 "
type= "application/x-mplayer2 "
pluginspage= "http://www.microsoft.com/isapi/redir.dll?prd=windows&amp;sbp=mediaplayer&amp;ar=media&amp;sba=plugin&amp; "
name= "MediaPlayer "   showcontrols= "1 "   showpositioncontrols= "0 "
showaudiocontrols= "1 "   showtracker= "1 "   showdisplay= "0 "  
showstatusbar= "1 "
autosize= "0 "
showgotobar= "0 "   showcaptioning= "0 "   autostart= "1 "   autorewind= "0 "   balance= "0 "
animationatstart= "0 "   transparentatstart= "0 "   allowscan= "1 "
enablecontextmenu= "1 "   clicktoplay= "0 "  
defaultframe= "datawindow "   invokeurls= "0 ">
</embed>
</object>

------解决方案--------------------
  相关解决方案