Skip to content

Commit f02fb1b

Browse files
authored
fix(seekbar): don't disable if live tracker's seekable is infinity (videojs#5721)
This was done to make the behavior on Android with HLS live streams better but the it's opening us up to too many potential issues, like a user not being able to properly disable the control bar, that we should just back it out.
1 parent 544ed9d commit f02fb1b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/js/control-bar/progress-control/seek-bar.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,6 @@ class SeekBar extends Slider {
115115
duration = this.player_.liveTracker.liveCurrentTime();
116116
}
117117

118-
if (liveTracker && liveTracker.seekableEnd() === Infinity) {
119-
this.disable();
120-
} else {
121-
this.enable();
122-
}
123-
124118
// machine readable value of progress bar (percentage complete)
125119
this.el_.setAttribute('aria-valuenow', (percent * 100).toFixed(2));
126120

0 commit comments

Comments
 (0)