Is there any way to know when the sound in an <object> has stopped playing?
Because I'd like to play a subsequent sound file when the first one finishes.
(it's for a webapp to assist reading, not a public site)
From looking at http://www.quirksmode.org/js/events_compinfo.html it doesn't look like there's such an event.
But is there some property that I can access containing the current playing status of the <object>?
I've spent a few hours looking at different ways of doing this and I'm stumped.
If I knew the duration of the mp3 I guess I could use window.setTimeOut() to call the next one and just assume the first one has finished, but that doesn't seem easy to manage. If the mp3 changes they'd have to fix up all the pages.
Unfortunately all the search engines have failed me because javascript OBJECT-oriented programming is more popular than Javascript <OBJECT>s.
Any advice?
.Matthew Cruickshank http://holloway.co.nz/ . ****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
