@gcorevideo/player 2.19.8 → 2.19.9
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/core.js +7 -9
- package/dist/index.css +409 -409
- package/dist/index.js +10 -16
- package/dist/plugins/index.css +1468 -1468
- package/dist/plugins/index.js +2 -4
- package/lib/Player.d.ts.map +1 -1
- package/lib/Player.js +3 -5
- package/lib/playback/hls-playback/HlsPlayback.d.ts.map +1 -1
- package/lib/playback/hls-playback/HlsPlayback.js +4 -4
- package/lib/plugins/source-controller/SourceController.d.ts.map +1 -1
- package/lib/plugins/source-controller/SourceController.js +3 -7
- package/package.json +1 -1
- package/src/Player.ts +3 -5
- package/src/playback/hls-playback/HlsPlayback.ts +10 -5
- package/src/plugins/source-controller/SourceController.ts +4 -8
- package/tsconfig.tsbuildinfo +1 -1
package/dist/core.js
CHANGED
|
@@ -41717,11 +41717,11 @@ class HlsPlayback extends HTML5Video {
|
|
|
41717
41717
|
this._hls = null;
|
|
41718
41718
|
}
|
|
41719
41719
|
_createHLSInstance() {
|
|
41720
|
-
const config = {
|
|
41721
|
-
...this.options.playback.hlsjsConfig,
|
|
41720
|
+
const config = $.extend(true, {
|
|
41722
41721
|
maxBufferLength: 2,
|
|
41723
41722
|
maxMaxBufferLength: 4,
|
|
41724
|
-
};
|
|
41723
|
+
}, this.options.playback.hlsjsConfig);
|
|
41724
|
+
trace(`${T$1} _createHLSInstance`, { config });
|
|
41725
41725
|
this._hls = new Hls(config);
|
|
41726
41726
|
}
|
|
41727
41727
|
_attachHLSMedia() {
|
|
@@ -42693,11 +42693,10 @@ class Player {
|
|
|
42693
42693
|
sources,
|
|
42694
42694
|
});
|
|
42695
42695
|
this.rootNode = rootNode;
|
|
42696
|
-
const coreOptions = {
|
|
42697
|
-
...this.config, // plugin settings
|
|
42696
|
+
const coreOptions = $.extend(true, this.config, {
|
|
42698
42697
|
allowUserInteraction: true,
|
|
42699
42698
|
autoPlay: false,
|
|
42700
|
-
dash: this.config.dash,
|
|
42699
|
+
dash: this.config.dash,
|
|
42701
42700
|
debug: this.config.debug || 'none',
|
|
42702
42701
|
events: this.events,
|
|
42703
42702
|
height: rootNode.clientHeight,
|
|
@@ -42710,7 +42709,6 @@ class Player {
|
|
|
42710
42709
|
mute: this.config.mute,
|
|
42711
42710
|
crossOrigin: 'anonymous', // TODO
|
|
42712
42711
|
hlsjsConfig: {
|
|
42713
|
-
// TODO
|
|
42714
42712
|
debug: this.config.debug === 'all' || this.config.debug === 'hls',
|
|
42715
42713
|
},
|
|
42716
42714
|
},
|
|
@@ -42721,7 +42719,7 @@ class Player {
|
|
|
42721
42719
|
mimeType: source ? source.mimeType : undefined,
|
|
42722
42720
|
sources,
|
|
42723
42721
|
strings: this.config.strings,
|
|
42724
|
-
};
|
|
42722
|
+
});
|
|
42725
42723
|
return coreOptions;
|
|
42726
42724
|
}
|
|
42727
42725
|
configurePlaybacks() {
|
|
@@ -42779,7 +42777,7 @@ class Player {
|
|
|
42779
42777
|
}
|
|
42780
42778
|
}
|
|
42781
42779
|
|
|
42782
|
-
var version$1 = "2.19.
|
|
42780
|
+
var version$1 = "2.19.9";
|
|
42783
42781
|
|
|
42784
42782
|
var packages = {
|
|
42785
42783
|
"node_modules/@clappr/core": {
|