View Full Version : Playing multiple audiofiles in a row?

Feb 3rd, 2004, 05:14 PM
Is there anyway to play a background music, then have another one start when the first one finishes? Besides setTimeouts?

Roy Sinclair
Feb 3rd, 2004, 06:25 PM
Sometimes all you need to know is what terms to use with Google: http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=javascript+jukebox

Feb 3rd, 2004, 07:10 PM
Thanks, but a jukebox is not what I'm looking for. I just want a song to start when another ends. Like there were an onEnd property or something. I've been googling all day but can't find any way.

Willy Duitt
Feb 3rd, 2004, 07:17 PM
Here (http://transload.net/~cyberrite/Willy/Codes/MidiPlayer3.shtml) is an example of what I believe you are looking for.


Feb 3rd, 2004, 07:27 PM
Indeed it is. Except I don't want to refresh my page. I'll just use setTimeout then. Thanks anyway.