Testing WMP
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
Testing WMP

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Windows Media on Web
Author Message
Lauren the Ravishing
Guest





Posted: Fri Aug 19, 2005 8:30 pm    Post subject: Testing WMP Reply with quote

- is there a way to test that a track has finished playing in an
embedded WM Player?
- If yes, is there a way to do a redirect to a new URL?

My goal is to make my own web-based media player that displays a
dynamic list of tracks using asp. Click on a track and it highlights
the current track in the list and then plays the track in the embedded
Windows Media Player in a separate HTML frame. This I've done. What I
want to do now is get the next track to play automatically after the
current one is finished. The way I'm looking to do this is, when the
track finishes a new URL is launched. The new URL contains the next
track ID.

- track 1 finishes
- redirect to myplayer.asp?track=2 initiated
- track 1 plays
- track 2 finishes
- redirect to myplayer.asp?track=3 initiated

I'm developing in asp with vbscript and can run client-side javascript.

Thanks in advance
~ Lauren

Back to top
Neil Smith [MVP Digital M
Guest





Posted: Mon Aug 22, 2005 12:30 pm    Post subject: Re: Testing WMP Reply with quote

On 19 Aug 2005 10:11:52 -0700, "Lauren the Ravishing"
<lauren_the_ravishing@yahoo.com> wrote:

Quote:
- is there a way to test that a track has finished playing in an
embedded WM Player?
- If yes, is there a way to do a redirect to a new URL?

My goal is to make my own web-based media player that displays a
dynamic list of tracks using asp. Click on a track and it highlights
the current track in the list and then plays the track in the embedded
Windows Media Player in a separate HTML frame. This I've done. What I
want to do now is get the next track to play automatically after the
current one is finished.

Would a more natural way be to use an ASX playlist to play the next
track after the first one finishes ? Or are you trying to display some
album artwork or track-related ads which change for each page having
the embedded player ?

Quote:
The way I'm looking to do this is, when the
track finishes a new URL is launched. The new URL contains the next
track ID.

- track 1 finishes
- redirect to myplayer.asp?track=2 initiated
- track 1 plays

[Guess u meant track 2 plays there ?]

Quote:
- track 2 finishes
- redirect to myplayer.asp?track=3 initiated

I'm developing in asp with vbscript and can run client-side javascript.

I'll post some client side code if we can establish you *need* to
refresh the page after track completion ;-)

Quote:
Thanks in advance
~ Lauren

Cheers - Neil
Back to top
Lauren the Ravishing
Guest





Posted: Mon Aug 22, 2005 4:30 pm    Post subject: Re: Testing WMP Reply with quote

Quote:
Would a more natural way be to use an ASX playlist to play the
next track after the first one finishes ? Or are you trying to display
some album artwork or track-related ads which change for each
page having the embedded player ?

Using an ASX playlist won't work for me. The list of tracks are called
dynamically from a database. In order for me to get the next track I
need to do a redirect to a new URL with a new track ID.

Quote:
- track 1 finishes
- redirect to myplayer.asp?track=2 initiated
- track 1 plays

[Guess u meant track 2 plays there ?]

Yes, sorry. Track 2 plays.

Thank you,
~ Lauren

Back to top
Neil Smith [MVP Digital M
Guest





Posted: Tue Aug 23, 2005 12:30 am    Post subject: Re: Testing WMP Reply with quote

On 22 Aug 2005 09:23:11 -0700, "Lauren the Ravishing"
<lauren_the_ravishing@yahoo.com> wrote:

Quote:
Would a more natural way be to use an ASX playlist to play the
next track after the first one finishes ? Or are you trying to display
some album artwork or track-related ads which change for each
page having the embedded player ?

Using an ASX playlist won't work for me. The list of tracks are called
dynamically from a database. In order for me to get the next track I
need to do a redirect to a new URL with a new track ID.

OK I'm not quite getting this - is it possible to explain more clearly
how your scheme works - that is, what it is that determines which
track is loaded next ? Is it random ? Can the randomness be
pre-determined and pulldown the list of tracks to play ?

For example, you could be using a fork - so track 1 plays followed by
a random selection of tracks 2-4, or track 1 could play then track 2
if the player is stopped by the user at 1 minute, and track 3 if it's
stopped at 2 minutes in.

See what I mean, there are a lot of possibilities ?

Cheers - Neil
Back to top
derek se
Guest





Posted: Sat Sep 17, 2005 6:38 am    Post subject: Re: Testing WMP Reply with quote

Lauren the Ravishing Aug 23, 12:23 am show options

Newsgroups: microsoft.public.windowsmedia.player.web
From: "Lauren the Ravishing" <lauren_the_ravish...@yahoo.com> - Find
messages by this author
Date: 22 Aug 2005 09:23:11 -0700
Local: Tues, Aug 23 2005 12:23 am
Subject: Re: Testing WMP
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Report Abuse



Quote:
Would a more natural way be to use an ASX playlist to play the
next track after the first one finishes ? Or are you trying to display
some album artwork or track-related ads which change for each
page having the embedded player ?


Using an ASX playlist won't work for me. The list of tracks are called
dynamically from a database. In order for me to get the next track I
need to do a redirect to a new URL with a new track ID.


Try .wpl or .m3u there's so many types of playlist formats that wmp can
support... that's how i get around...
Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Windows Media on Web All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB