Skip to content

Commit 7f507df

Browse files
committed
fix(seekbar): don't disable if live tracker's seekable is infinity (#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 f1637cd commit 7f507df

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎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)