@clappr/hlsjs-playback 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hlsjs-playback.esm.js +3 -4
- package/dist/hlsjs-playback.esm.js.map +1 -1
- package/dist/hlsjs-playback.external.js +3 -4
- package/dist/hlsjs-playback.external.js.map +1 -1
- package/dist/hlsjs-playback.external.min.js +1 -1
- package/dist/hlsjs-playback.external.min.js.map +1 -1
- package/dist/hlsjs-playback.js +3 -4
- package/dist/hlsjs-playback.js.map +1 -1
- package/dist/hlsjs-playback.min.js +1 -1
- package/dist/hlsjs-playback.min.js.map +1 -1
- package/package.json +5 -4
- package/src/dist.smoke.test.js +27 -33
- package/src/hls.js +2 -3
- package/src/hls.test.js +780 -12
|
@@ -36719,7 +36719,7 @@ class HlsjsPlayback extends HTML5Video {
|
|
|
36719
36719
|
}
|
|
36720
36720
|
get supportedVersion() {
|
|
36721
36721
|
return {
|
|
36722
|
-
min: "0.
|
|
36722
|
+
min: "0.15.0"
|
|
36723
36723
|
};
|
|
36724
36724
|
}
|
|
36725
36725
|
get levels() {
|
|
@@ -36891,7 +36891,7 @@ class HlsjsPlayback extends HTML5Video {
|
|
|
36891
36891
|
this._segmentTargetDuration = null;
|
|
36892
36892
|
// #EXT-X-PLAYLIST-TYPE
|
|
36893
36893
|
this._playlistType = null;
|
|
36894
|
-
this._recoverAttemptsRemaining = this.options.hlsRecoverAttempts
|
|
36894
|
+
this._recoverAttemptsRemaining = this.options.hlsRecoverAttempts ?? DEFAULT_RECOVER_ATTEMPTS;
|
|
36895
36895
|
}
|
|
36896
36896
|
_setup() {
|
|
36897
36897
|
this._destroyHLSInstance();
|
|
@@ -37039,8 +37039,7 @@ class HlsjsPlayback extends HTML5Video {
|
|
|
37039
37039
|
return this._startTime;
|
|
37040
37040
|
}
|
|
37041
37041
|
seekPercentage(percentage) {
|
|
37042
|
-
|
|
37043
|
-
this.seek(seekTo);
|
|
37042
|
+
this.seek(this._duration * (percentage / 100));
|
|
37044
37043
|
}
|
|
37045
37044
|
seek(time) {
|
|
37046
37045
|
if (time < 0) {
|