Re: how to detect the end of a playing sound ?

Hi !

+1 for that. 

I also think such an event would be comfortable.

Gabriel

Le 31 oct. 2012 à 12:39, Jerome Etienne a écrit :

> Hello,
> 
> i would like to play multiple sounds (songs in mp3) one after the other. Is there a way to detect the end of a playing sound ? an event endOfSound or something like that ? 
> 
> Currently i storing the duration of the currently playing sound, do a settimeout which is triggered after this time, when it is triggered, i stop the current sound and start the new one... rather clumsy. is there a better way ?
> 
> Jerome

Received on Wednesday, 31 October 2012 11:54:55 UTC