RESOLVED INVALID 35470
The timeupdate event does not appear to consistently fire
https://bugs.webkit.org/show_bug.cgi?id=35470
Summary The timeupdate event does not appear to consistently fire
will
Reported 2010-02-26 21:07:56 PST
I created a personal javascript app to help me with a college music history class. Basically, it grabs a random mp3 from a list, and plays a 30 second clip from some randomly selected portion of the mp3, and I have to pick which piece it belongs to. I have a bit of code that listens to the timeupdate event and fades out the music when there are two seconds left. This same handler also updates the progress bar. However, sometimes the progress bar stops updating in the middle of a piece and it plays until the end of the piece rather than cutting off after 30 seconds. A possibly related issue is that the progress bar will sometimes start in the middle rather than at the beginning. I have these problems in Safari 4, Chrome, and the webkit nightlies. Firefox works consistently. This very well could be my fault and Firefox is just more forgiving, so if I have some terrible code in there, please let me know and mark this as notabug/wontfix. Thanks!
Attachments
will
Comment 1 2010-02-26 21:10:30 PST
will
Comment 2 2010-02-27 14:10:32 PST
The problem I mentioned with the progress bar starting at the middle is actually due to me having the ogg vorbis quicktime codecs installed and having ogg first in the list of sources. Putting mp3 first fixes that. On further investigation, it looks like the timeupdate event is firing correctly, there is another issue somewhere else that is causing problems. Marking as resolved/invalid. Sorry for the bugspam.
Note You need to log in before you can comment on or make changes to this bug.