| Author |
Message |
SSilver2k2
Guest
|
Posted:
Thu Aug 04, 2005 6:59 am Post subject:
Changing to another song from a playlist |
|
|
Hello, thanks for the useful reply to my earlier question.
Im outputting my playlist to the screen, and basically i want users to be
able to click on that and have the media player switch to that song within
the playlist.
function changeSong(i)
{
var a = mediaPlayer1.currentPlaylist.item(i).sourceURL;
mediaPlayer1.URL = a;
}
where "i" is the number of the song in the playlist.
|
|
| Back to top |
|
 |
Neil Smith [MVP Digital M
Guest
|
Posted:
Thu Aug 04, 2005 12:30 pm Post subject:
Re: Changing to another song from a playlist |
|
|
On Wed, 3 Aug 2005 18:59:08 -0700, "SSilver2k2"
<SSilver2k2@discussions.microsoft.com> wrote:
| Quote: | Hello, thanks for the useful reply to my earlier question.
|
You're welcome.
| Quote: | Im outputting my playlist to the screen, and basically i want users to be
able to click on that and have the media player switch to that song within
the playlist.
|
Is there a question in here ? I can't see it if there is...
| Quote: | function changeSong(i)
{
var a = mediaPlayer1.currentPlaylist.item(i).sourceURL;
mediaPlayer1.URL = a;
}
where "i" is the number of the song in the playlist. |
|
|
| Back to top |
|
 |
SSilver2k2
Guest
|
Posted:
Thu Aug 04, 2005 4:30 pm Post subject:
Re: Changing to another song from a playlist |
|
|
heh, sorry, the question is, i dont know how to. i dont think my cocde below
is right, since it doesnt work. maybe i need to use
mediaplayer1.currentPlaylist.count. im trying to make links that change to
different songs in the currently loaded playlist
"Neil Smith [MVP Digital Media]" wrote:
| Quote: | On Wed, 3 Aug 2005 18:59:08 -0700, "SSilver2k2"
SSilver2k2@discussions.microsoft.com> wrote:
Hello, thanks for the useful reply to my earlier question.
You're welcome.
Im outputting my playlist to the screen, and basically i want users to be
able to click on that and have the media player switch to that song within
the playlist.
Is there a question in here ? I can't see it if there is...
function changeSong(i)
{
var a = mediaPlayer1.currentPlaylist.item(i).sourceURL;
mediaPlayer1.URL = a;
}
where "i" is the number of the song in the playlist.
|
|
|
| Back to top |
|
 |
Neil Smith [MVP Digital M
Guest
|
Posted:
Thu Aug 04, 2005 4:30 pm Post subject:
Re: Changing to another song from a playlist |
|
|
On Thu, 4 Aug 2005 07:36:04 -0700, "SSilver2k2"
<SSilver2k2@discussions.microsoft.com> wrote:
Shouldn't that be just URL ?
Cheers - Neil |
|
| Back to top |
|
 |
Jim Travis [ms]
Guest
|
Posted:
Fri Aug 05, 2005 8:30 am Post subject:
Re: Changing to another song from a playlist |
|
|
I think you want to use this:
http://msdn.microsoft.com/library/en-us/wmplay10/mmp_sdk/controlsplayitem.asp
--
Jim Travis
Microsoft Corp.
Windows Media Player SDK
Download:
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/winmedia.asp
Latest online:
http://msdn.microsoft.com/library/en-us/wmplay10/mmp_sdk/windowsmediaplayer10sdk.asp
Please do not send email directly to this alias as this alias is for
newsgroup purposes only. This posting is provided "AS IS" with no
warranties, and confers no rights. You assume all risk for your use. © 2005
Microsoft Corporation. All rights reserved.
"SSilver2k2" <SSilver2k2@discussions.microsoft.com> wrote in message
news:448CA158-5AA4-43D4-9572-15D8B4A44AC3@microsoft.com...
| Quote: | Hello, thanks for the useful reply to my earlier question.
Im outputting my playlist to the screen, and basically i want users to be
able to click on that and have the media player switch to that song within
the playlist.
function changeSong(i)
{
var a = mediaPlayer1.currentPlaylist.item(i).sourceURL;
mediaPlayer1.URL = a;
}
where "i" is the number of the song in the playlist. |
|
|
| Back to top |
|
 |
|
|
|
|