CyberByte
10-05-2007, 09:27 AM
I need to play a list of audio files in sequence. The problem is that I can't use Flash and I don't really know how to do it with JavaScript. I can use JS to put an <object>-tag into my HTML, but that will only play one sound and I wouldn't know how to determine when to remove it again and start the next file. Also, I really need to know exactly when the new file starts playing, because it affects the actions that can be taken during that time, so a playlist of some sorts won't do either.
Basically, the problem is that I don't know how to find out when an audiofile has stopped playing. So if someone knows how to reliably do this, please tell me.
Thanks!
Basically, the problem is that I don't know how to find out when an audiofile has stopped playing. So if someone knows how to reliably do this, please tell me.
Thanks!