Tuesday, March 12, 2013

Setting the granularity of the HTML5 audio event 'timeupdate' - Stack Overflow

Setting the granularity of the HTML5 audio event 'timeupdate' - Stack Overflow: "$(audio).bind('timeupdate', function() {
if (audio.currentTime >= 26){
var blah = audio.currentTime;
audio.currentTime = 23;
console.log(blah);
}
})"

'via Blog this'