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 click play... 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
+ Reply to Thread
Results 1 to 2 of 2
-
-
It is possible to control the media player with Javascript.
So, your answer would be hiding the player's controls and offering controls of your own that will link to Javascript functions. Then, if the user hits next to go to the next track, your Javascript function may start playing it even if the media player doesn't do it automatically.
That said, I only worked with this for Quicktime, so I can't go into specifics, but this page should help you: http://wdvl.internet.com/Multimedia/Windows_Media/index4.html
Good luck!
Similar Threads
-
How can I pull out an embeded subtitle from *.mkv file?
By si_asad in forum SubtitleReplies: 4Last Post: 31st Aug 2011, 13:48 -
What embeded flv player do you use?
By jfharper in forum Video Streaming DownloadingReplies: 6Last Post: 22nd Jul 2011, 14:34 -
Can't view embeded You Tube Videos
By Ensign in forum Video Streaming DownloadingReplies: 11Last Post: 27th Mar 2009, 12:28 -
Problem playing wmv files in Windows Media Player and Media Player Classic.
By rayden54 in forum Software PlayingReplies: 4Last Post: 1st Aug 2008, 22:49 -
how do I flip an AVI video in windows media player or media player classi
By mdavenport in forum Newbie / General discussionsReplies: 2Last Post: 5th Jul 2007, 23:18