Announcement

Collapse
No announcement yet.

embeded media player code

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • embeded media player code

    Hi!
    i want to stream a list of songs...
    i don't want it to start playing until the user will click it...
    so:

    Code:
    <OBJECT
    
    ID="mediaPlayer"
    
    CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
    
    CODEBASE="http://activex.microsoft.com/activex/
    controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
    
    STANDBY="Loading Microsoft Windows Media Player components..."
    
    TYPE="application/x-oleobject" WIDTH=170 HEIGHT=69 autostart="0">
    
    <PARAM NAME="fileName"
    VALUE="http://www.site.com/list.asx">
    
    <PARAM NAME="animationatStart" VALUE="true">
     <PARAM NAME="ShowDisplay" VALUE="0">
        <PARAM NAME="ShowStatusBar" VALUE="1">
    
    <PARAM NAME="transparentatStart" VALUE="true">
    
    <PARAM NAME="autoStart" VALUE="false">
    
    <PARAM NAME="showControls" VALUE="true">
    
    </OBJECT>
    the problem is that if the user want to jump to the next track - it indeed jump... but it will not play until the user will also click play again... BUT when i just run the asx file in mediaplayer (not using this embeded code) it jump to the next track AND play it...


    thanks
Working...
X