Click to See Complete Forum and Search --> : Play list of audio files without Flash


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!

drafdesigns
10-05-2007, 02:00 PM
here is a link to an example you may be able to use.

http://airbrushjunkies.net/ent.html

enjoy

Lazer
10-05-2007, 06:08 PM
Hi.
The only way I can think of is timing the files and adding a timout for your JS function and changing the bgsound tag or embed content.
but if you will find a better way, I would be more than happy to know about!