I\'m building mp3 playlist player with HTML5 and jQuery. At this player there is a horizontal bar grow gradually in conjunction with the buffered present of mp3 file.
he
track = document.getElementById("music"); track.onprogress = function(){ if(track.buffered.length>0){ var w = 100*(track.buffered.end(0))/track.duration; $('#buffered').css("width",w+"%"); } }