@gcorevideo/player 2.26.6 → 2.26.8
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 +19 -13
- package/dist/index.css +729 -729
- package/dist/index.embed.js +18 -11
- package/dist/index.js +20 -13
- package/dist/player.d.ts +18 -2
- package/docs/api/player.md +11 -11
- package/docs/api/player.thumbnails.md +1 -0
- package/docs/api/player.thumbnailspluginsettings.backdropheight.md +11 -0
- package/docs/api/player.thumbnailspluginsettings.backdropmaxopacity.md +11 -0
- package/docs/api/player.thumbnailspluginsettings.backdropminopacity.md +11 -0
- package/docs/api/player.thumbnailspluginsettings.md +154 -9
- package/docs/api/player.thumbnailspluginsettings.spotlightheight.md +11 -0
- package/docs/api/player.thumbnailspluginsettings.sprite.md +11 -0
- package/docs/api/player.thumbnailspluginsettings.vtt.md +13 -0
- package/lib/plugins/thumbnails/Thumbnails.d.ts +18 -2
- package/lib/plugins/thumbnails/Thumbnails.d.ts.map +1 -1
- package/lib/plugins/thumbnails/Thumbnails.js +1 -0
- package/package.json +1 -1
- package/src/plugins/thumbnails/Thumbnails.ts +20 -3
- package/temp/player.api.json +170 -16
- package/tsconfig.tsbuildinfo +1 -1
package/dist/core.js
CHANGED
|
@@ -6187,9 +6187,12 @@ var Core = /*#__PURE__*/function (_UIObject) {
|
|
|
6187
6187
|
var _this3 = this;
|
|
6188
6188
|
this.disableResizeObserver();
|
|
6189
6189
|
var checkSizeCallback = function checkSizeCallback() {
|
|
6190
|
+
var _this3$el$clientWidth, _this3$el$clientHeigh;
|
|
6191
|
+
var width = (_this3$el$clientWidth = _this3.el.clientWidth) !== null && _this3$el$clientWidth !== void 0 ? _this3$el$clientWidth : _this3.options.width;
|
|
6192
|
+
var height = (_this3$el$clientHeigh = _this3.el.clientHeight) !== null && _this3$el$clientHeigh !== void 0 ? _this3$el$clientHeigh : _this3.options.height;
|
|
6190
6193
|
_this3.triggerResize({
|
|
6191
|
-
width:
|
|
6192
|
-
height:
|
|
6194
|
+
width: width,
|
|
6195
|
+
height: height
|
|
6193
6196
|
});
|
|
6194
6197
|
};
|
|
6195
6198
|
this.resizeObserverInterval = setInterval(checkSizeCallback, 500);
|
|
@@ -6279,12 +6282,15 @@ var Core = /*#__PURE__*/function (_UIObject) {
|
|
|
6279
6282
|
}, {
|
|
6280
6283
|
key: "handleWindowResize",
|
|
6281
6284
|
value: function handleWindowResize(event) {
|
|
6285
|
+
var _this$el$clientWidth, _this$el$clientHeight;
|
|
6282
6286
|
var orientation = window.innerWidth > window.innerHeight ? 'landscape' : 'portrait';
|
|
6283
6287
|
if (this._screenOrientation === orientation) return;
|
|
6284
6288
|
this._screenOrientation = orientation;
|
|
6289
|
+
var width = (_this$el$clientWidth = this.el.clientWidth) !== null && _this$el$clientWidth !== void 0 ? _this$el$clientWidth : this.options.width;
|
|
6290
|
+
var height = (_this$el$clientHeight = this.el.clientHeight) !== null && _this$el$clientHeight !== void 0 ? _this$el$clientHeight : this.options.height;
|
|
6285
6291
|
this.triggerResize({
|
|
6286
|
-
width:
|
|
6287
|
-
height:
|
|
6292
|
+
width: width,
|
|
6293
|
+
height: height
|
|
6288
6294
|
});
|
|
6289
6295
|
this.trigger(Events$1.CORE_SCREEN_ORIENTATION_CHANGED, {
|
|
6290
6296
|
event: event,
|
|
@@ -6600,7 +6606,7 @@ var Loader = (function () {
|
|
|
6600
6606
|
plugins: {},
|
|
6601
6607
|
playbacks: []
|
|
6602
6608
|
};
|
|
6603
|
-
var currentVersion = "0.11.
|
|
6609
|
+
var currentVersion = "0.11.5";
|
|
6604
6610
|
return /*#__PURE__*/function () {
|
|
6605
6611
|
/**
|
|
6606
6612
|
* builds the loader
|
|
@@ -7740,7 +7746,7 @@ var HTML5Video$1 = /*#__PURE__*/function (_Playback) {
|
|
|
7740
7746
|
key: "supportedVersion",
|
|
7741
7747
|
get: function get() {
|
|
7742
7748
|
return {
|
|
7743
|
-
min: "0.11.
|
|
7749
|
+
min: "0.11.5"
|
|
7744
7750
|
};
|
|
7745
7751
|
}
|
|
7746
7752
|
}, {
|
|
@@ -8502,7 +8508,7 @@ var HTML5Audio = /*#__PURE__*/function (_HTML5Video) {
|
|
|
8502
8508
|
key: "supportedVersion",
|
|
8503
8509
|
get: function get() {
|
|
8504
8510
|
return {
|
|
8505
|
-
min: "0.11.
|
|
8511
|
+
min: "0.11.5"
|
|
8506
8512
|
};
|
|
8507
8513
|
}
|
|
8508
8514
|
}, {
|
|
@@ -8559,7 +8565,7 @@ var HTMLImg = /*#__PURE__*/function (_Playback) {
|
|
|
8559
8565
|
key: "supportedVersion",
|
|
8560
8566
|
get: function get() {
|
|
8561
8567
|
return {
|
|
8562
|
-
min: "0.11.
|
|
8568
|
+
min: "0.11.5"
|
|
8563
8569
|
};
|
|
8564
8570
|
}
|
|
8565
8571
|
}, {
|
|
@@ -8642,7 +8648,7 @@ var NoOp = /*#__PURE__*/function (_Playback) {
|
|
|
8642
8648
|
key: "supportedVersion",
|
|
8643
8649
|
get: function get() {
|
|
8644
8650
|
return {
|
|
8645
|
-
min: "0.11.
|
|
8651
|
+
min: "0.11.5"
|
|
8646
8652
|
};
|
|
8647
8653
|
}
|
|
8648
8654
|
}, {
|
|
@@ -8768,7 +8774,7 @@ var Strings = /*#__PURE__*/function (_CorePlugin) {
|
|
|
8768
8774
|
key: "supportedVersion",
|
|
8769
8775
|
get: function get() {
|
|
8770
8776
|
return {
|
|
8771
|
-
min: "0.11.
|
|
8777
|
+
min: "0.11.5"
|
|
8772
8778
|
};
|
|
8773
8779
|
}
|
|
8774
8780
|
}, {
|
|
@@ -8910,7 +8916,7 @@ var SourcesPlugin = /*#__PURE__*/function (_CorePlugin) {
|
|
|
8910
8916
|
key: "supportedVersion",
|
|
8911
8917
|
get: function get() {
|
|
8912
8918
|
return {
|
|
8913
|
-
min: "0.11.
|
|
8919
|
+
min: "0.11.5"
|
|
8914
8920
|
};
|
|
8915
8921
|
}
|
|
8916
8922
|
}, {
|
|
@@ -43173,11 +43179,11 @@ class Player {
|
|
|
43173
43179
|
}
|
|
43174
43180
|
}
|
|
43175
43181
|
|
|
43176
|
-
var version$1 = "2.26.
|
|
43182
|
+
var version$1 = "2.26.8";
|
|
43177
43183
|
|
|
43178
43184
|
var packages = {
|
|
43179
43185
|
"node_modules/@clappr/core": {
|
|
43180
|
-
version: "0.11.
|
|
43186
|
+
version: "0.11.5"},
|
|
43181
43187
|
"node_modules/dashjs": {
|
|
43182
43188
|
version: "4.7.4"},
|
|
43183
43189
|
"node_modules/hls.js": {
|