diff --git a/src/js/tracks.js b/src/js/tracks.js index 06658d0895..d2ac76fb08 100644 --- a/src/js/tracks.js +++ b/src/js/tracks.js @@ -551,8 +551,9 @@ vjs.TextTrack.prototype.parseCueTime = function(timeText) { vjs.TextTrack.prototype.update = function(){ if (this.cues_.length > 0) { - // Get curent player time - var time = this.player_.currentTime(); + // Get current player time, adjust for track offset + var offset = this.player_.options()['trackTimeOffset'] || 0; + var time = this.player_.currentTime() + offset; // Check if the new time is outside the time box created by the the last update. if (this.prevChange === undefined || time < this.prevChange || this.nextChange <= time) {