1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-19 10:54:16 +02:00

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.
This commit is contained in:
Gary Katsevman 2019-01-08 14:13:50 -05:00 committed by GitHub
parent 544ed9df34
commit f02fb1b801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,12 +115,6 @@ class SeekBar extends Slider {
duration = this.player_.liveTracker.liveCurrentTime();
}
if (liveTracker && liveTracker.seekableEnd() === Infinity) {
this.disable();
} else {
this.enable();
}
// machine readable value of progress bar (percentage complete)
this.el_.setAttribute('aria-valuenow', (percent * 100).toFixed(2));