diff --git a/assets/scripts.js b/assets/scripts.js index 4861f0c..3110b06 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -220,15 +220,10 @@ function ontimeupdate(evt) { var ms = getCurrentMs(); currentSegment = getSegmentId(ms); - // ontimeupdate resolution is about a second. Augment it using timer. if (timerId) { clearTimeout(timerId); timerId = 0; } - if (currentSegment && nextSegment && nextSegment != currentSegment) { - var timeLeft = segmentMap.segments[currentSegment].endTimeMs - ms; - timerId = setTimeout(ontimeupdate, timeLeft); - } // Distinguish between the user seeking manually with