I am trying to play an mp3 file and I want to go to a specific location in the file. In Chrome 33 on Windows, the file jumps to the correct position (compared to VLC playing mp3 locally), but in Firefox 28 on Windows it plays too far ahead, and in Internet Explorer 11 it lags too far.
It worked correctly in Firefox 27 and earlier.
Is there a better way to do this?
EDIT: The problem does not even require SoundManager2. You can replicate the same problem only with the <audio> in Firefox. These two lines are all the code you need to reproduce:
<audio autoplay id="audio" src="http://ivdemo.chaseits.co.uk/enron/20050204-4026(7550490)a.mp3" controls preload></audio> <button onclick="javascript:document.getElementById('audio').currentTime = 10;">Jump to 10 secs "...be with us in, er, 1 minute... ok" </button>
Try it here: http://jsfiddle.net/cpickard/29Gt3/
EDIT: Tried with Firefox at Night, no improvement. I reported this as bug 994561 in bugzilla. Still looking for a workaround.
javascript html5
Colin pickard
source share