Setting the granularity of the HTML5 audio event ‘timeupdate’
It should be noted that you can read the currentTime property of a video much more often. If time is really critical, and you can live with a little bit of uncertainty, you can try this instead. It is, however, a lot less elegant than using the tag’s own timeupdate event. setInterval(function () { console.log(audio.currentTime); … Read more