Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspdotnet_website_programming thread: Media player manipulation asp.net.


Message #1 by "=?iso-8859-1?q?F.=20Hebert?=" <cyber_pretorian@y...> on Tue, 19 Nov 2002 08:44:21 -0500 (EST)
Small question:  ;)

I play media player .mp3 in a ASp page. (with media player control).

Here's my question:  How can i "catch" a mp3 is finish and automaticaly switch to
another...

Thanks for your infos

__________________________________________________________
Lèche-vitrine ou lèche-écran ?
magasinage.yahoo.ca
Message #2 by "Mike Gale" <info@d...> on Wed, 20 Nov 2002 06:52:58 +1300
F. Hebert wrote:
> Small question:  ;)
> 
> I play media player .mp3 in a ASP page. (with media player control).
> 
> Here's my question:  How can I "catch" a mp3 is finish and
> automatically switch to another...

I've not done what you're asking, so I may not have the right picture.

I guess you're asking how you detect from the server that something (end
of an mp3) has happened on a browser. (without user action)

The short answer is you can't.  (The fundamental design of a browser
avoids that.)

Mike Gale, Decision Engineering (NZ) Ltd.

PS.  If the mp3 player generates "events" you have a chance, but it
would take a lot of testing if you need to script cross player / cross
browser.  If I were you I'd have a look for a specialist web site /
newsgroup that is focused on this subject.  They might know a trick or
two.

CAUTION - This message may contain privileged and confidential
information intended only for the use of the addressee/s. 

If you are not the intended recipient of this message you are hereby
notified that any use, dissemination, distribution or reproduction of
this message is prohibited without prior written consent.  Any views
expressed in this message may not reflect the views of Decision
Engineering.    




Message #3 by "Jerry Lanphear" <jerrylan@q...> on Tue, 19 Nov 2002 11:06:29 -0700
Mike,

But shouldn't there be an event that is raised when the .mp3 file
completes? The ASP program should be able to respond to that.

Jerry

-----Original Message-----
From: Mike Gale [mailto:info@d...] 
Sent: Tuesday, November 19, 2002 10:53 AM
To: Website Programming with ASP.NET
Subject: [aspdotnet_website_programming] RE: Media player manipulation
asp.net.

F. Hebert wrote:
> Small question:  ;)
> 
> I play media player .mp3 in a ASP page. (with media player control).
> 
> Here's my question:  How can I "catch" a mp3 is finish and
> automatically switch to another...

I've not done what you're asking, so I may not have the right picture.

I guess you're asking how you detect from the server that something (end
of an mp3) has happened on a browser. (without user action)

The short answer is you can't.  (The fundamental design of a browser
avoids that.)

Mike Gale, Decision Engineering (NZ) Ltd.

PS.  If the mp3 player generates "events" you have a chance, but it
would take a lot of testing if you need to script cross player / cross
browser.  If I were you I'd have a look for a specialist web site /
newsgroup that is focused on this subject.  They might know a trick or
two.

CAUTION - This message may contain privileged and confidential
information intended only for the use of the addressee/s. 

If you are not the intended recipient of this message you are hereby
notified that any use, dissemination, distribution or reproduction of
this message is prohibited without prior written consent.  Any views
expressed in this message may not reflect the views of Decision
Engineering.    








Message #4 by Will Swim <wswim@p...> on Tue, 19 Nov 2002 10:11:52 -0800
Not sure if this will help or not.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnw
mt/html/WMP_CE_ProgrammingTheControl.asp It's an article about using
the media control in a web page. It's targeted for the CE operating
system but shows some information about methods, events and states
that may give you some clues.


>
>F. Hebert wrote:
> Small question:  ;)
>
> I play media player .mp3 in a ASP page. (with media player
control).
>
> Here's my question:  How can I "catch" a mp3 is finish and
> automatically switch to another...


  Return to Index