diff --git a/lib/text/ui_text_displayer.js b/lib/text/ui_text_displayer.js index e00fc5d27e..c16962bd2e 100644 --- a/lib/text/ui_text_displayer.js +++ b/lib/text/ui_text_displayer.js @@ -162,7 +162,7 @@ shaka.text.UITextDisplayer = class { // Return true if the cue should be displayed at the current time point. const shouldCueBeDisplayed = (cue) => { return this.cues_.includes(cue) && this.isTextVisible_ && - cue.startTime <= currentTime && cue.endTime >= currentTime; + cue.startTime <= currentTime && cue.endTime > currentTime; }; // For each cue in the current cues map, if the cue's end time has passed,