How to detect flash based music player is done with playing music
Posted
by
rsapru
on Stack Overflow
See other posts from Stack Overflow
or by rsapru
Published on 2010-12-24T05:48:23Z
Indexed on
2010/12/24
5:54 UTC
Read the original article
Hit count: 586
Hi, I am trying to create a very basic\ minimalistic playlist application for http://www.google.co.in/music. Basically Google music displays links to song and when clicked it opens flash based player. Using my application i am collecting music links into a list box, when an song is clicked it opens the link in a separate webbrowser and it starts playing. As of now to achieve playlist functionality i also collect the time for each song and based on that i create a timer, once the time is over it switches to other song.
My Question here is that, is it possible to detect when the flash player is done playing music. Currently the timer functionality that i have built is not reliable.
If interested you can have a look at code http://gmp.codeplex.com/
© Stack Overflow or respective owner