@clappr/player 0.11.6 → 0.11.7
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/clappr.js +33 -27
- package/dist/clappr.js.map +1 -1
- package/dist/clappr.min.js +1 -1
- package/dist/clappr.min.js.map +1 -1
- package/dist/clappr.plainhtml5.js +32 -26
- package/dist/clappr.plainhtml5.js.map +1 -1
- package/dist/clappr.plainhtml5.min.js +1 -1
- package/dist/clappr.plainhtml5.min.js.map +1 -1
- package/package.json +5 -5
package/dist/clappr.js
CHANGED
|
@@ -6171,9 +6171,12 @@
|
|
|
6171
6171
|
var _this3 = this;
|
|
6172
6172
|
this.disableResizeObserver();
|
|
6173
6173
|
var checkSizeCallback = function checkSizeCallback() {
|
|
6174
|
+
var _this3$el$clientWidth, _this3$el$clientHeigh;
|
|
6175
|
+
var width = (_this3$el$clientWidth = _this3.el.clientWidth) !== null && _this3$el$clientWidth !== void 0 ? _this3$el$clientWidth : _this3.options.width;
|
|
6176
|
+
var height = (_this3$el$clientHeigh = _this3.el.clientHeight) !== null && _this3$el$clientHeigh !== void 0 ? _this3$el$clientHeigh : _this3.options.height;
|
|
6174
6177
|
_this3.triggerResize({
|
|
6175
|
-
width:
|
|
6176
|
-
height:
|
|
6178
|
+
width: width,
|
|
6179
|
+
height: height
|
|
6177
6180
|
});
|
|
6178
6181
|
};
|
|
6179
6182
|
this.resizeObserverInterval = setInterval(checkSizeCallback, 500);
|
|
@@ -6263,12 +6266,15 @@
|
|
|
6263
6266
|
}, {
|
|
6264
6267
|
key: "handleWindowResize",
|
|
6265
6268
|
value: function handleWindowResize(event) {
|
|
6269
|
+
var _this$el$clientWidth, _this$el$clientHeight;
|
|
6266
6270
|
var orientation = window.innerWidth > window.innerHeight ? 'landscape' : 'portrait';
|
|
6267
6271
|
if (this._screenOrientation === orientation) return;
|
|
6268
6272
|
this._screenOrientation = orientation;
|
|
6273
|
+
var width = (_this$el$clientWidth = this.el.clientWidth) !== null && _this$el$clientWidth !== void 0 ? _this$el$clientWidth : this.options.width;
|
|
6274
|
+
var height = (_this$el$clientHeight = this.el.clientHeight) !== null && _this$el$clientHeight !== void 0 ? _this$el$clientHeight : this.options.height;
|
|
6269
6275
|
this.triggerResize({
|
|
6270
|
-
width:
|
|
6271
|
-
height:
|
|
6276
|
+
width: width,
|
|
6277
|
+
height: height
|
|
6272
6278
|
});
|
|
6273
6279
|
this.trigger(Events$1.CORE_SCREEN_ORIENTATION_CHANGED, {
|
|
6274
6280
|
event: event,
|
|
@@ -6582,7 +6588,7 @@
|
|
|
6582
6588
|
plugins: {},
|
|
6583
6589
|
playbacks: []
|
|
6584
6590
|
};
|
|
6585
|
-
var currentVersion = "0.11.
|
|
6591
|
+
var currentVersion = "0.11.5";
|
|
6586
6592
|
return /*#__PURE__*/function () {
|
|
6587
6593
|
/**
|
|
6588
6594
|
* builds the loader
|
|
@@ -7717,7 +7723,7 @@
|
|
|
7717
7723
|
key: "supportedVersion",
|
|
7718
7724
|
get: function get() {
|
|
7719
7725
|
return {
|
|
7720
|
-
min: "0.11.
|
|
7726
|
+
min: "0.11.5"
|
|
7721
7727
|
};
|
|
7722
7728
|
}
|
|
7723
7729
|
}, {
|
|
@@ -8479,7 +8485,7 @@
|
|
|
8479
8485
|
key: "supportedVersion",
|
|
8480
8486
|
get: function get() {
|
|
8481
8487
|
return {
|
|
8482
|
-
min: "0.11.
|
|
8488
|
+
min: "0.11.5"
|
|
8483
8489
|
};
|
|
8484
8490
|
}
|
|
8485
8491
|
}, {
|
|
@@ -8534,7 +8540,7 @@
|
|
|
8534
8540
|
key: "supportedVersion",
|
|
8535
8541
|
get: function get() {
|
|
8536
8542
|
return {
|
|
8537
|
-
min: "0.11.
|
|
8543
|
+
min: "0.11.5"
|
|
8538
8544
|
};
|
|
8539
8545
|
}
|
|
8540
8546
|
}, {
|
|
@@ -8614,7 +8620,7 @@
|
|
|
8614
8620
|
key: "supportedVersion",
|
|
8615
8621
|
get: function get() {
|
|
8616
8622
|
return {
|
|
8617
|
-
min: "0.11.
|
|
8623
|
+
min: "0.11.5"
|
|
8618
8624
|
};
|
|
8619
8625
|
}
|
|
8620
8626
|
}, {
|
|
@@ -8740,7 +8746,7 @@
|
|
|
8740
8746
|
key: "supportedVersion",
|
|
8741
8747
|
get: function get() {
|
|
8742
8748
|
return {
|
|
8743
|
-
min: "0.11.
|
|
8749
|
+
min: "0.11.5"
|
|
8744
8750
|
};
|
|
8745
8751
|
}
|
|
8746
8752
|
}, {
|
|
@@ -8881,7 +8887,7 @@
|
|
|
8881
8887
|
key: "supportedVersion",
|
|
8882
8888
|
get: function get() {
|
|
8883
8889
|
return {
|
|
8884
|
-
min: "0.11.
|
|
8890
|
+
min: "0.11.5"
|
|
8885
8891
|
};
|
|
8886
8892
|
}
|
|
8887
8893
|
}, {
|
|
@@ -8910,7 +8916,7 @@
|
|
|
8910
8916
|
@type {string}
|
|
8911
8917
|
@default
|
|
8912
8918
|
*/
|
|
8913
|
-
var version$1 = "0.11.
|
|
8919
|
+
var version$1 = "0.11.5";
|
|
8914
8920
|
|
|
8915
8921
|
// Built-in Plugins/Playbacks
|
|
8916
8922
|
|
|
@@ -9059,7 +9065,7 @@
|
|
|
9059
9065
|
key: "supportedVersion",
|
|
9060
9066
|
get: function get() {
|
|
9061
9067
|
return {
|
|
9062
|
-
min: "0.11.
|
|
9068
|
+
min: "0.11.5"
|
|
9063
9069
|
};
|
|
9064
9070
|
}
|
|
9065
9071
|
}, {
|
|
@@ -9118,7 +9124,7 @@
|
|
|
9118
9124
|
key: "supportedVersion",
|
|
9119
9125
|
get: function get() {
|
|
9120
9126
|
return {
|
|
9121
|
-
min: "0.11.
|
|
9127
|
+
min: "0.11.5"
|
|
9122
9128
|
};
|
|
9123
9129
|
}
|
|
9124
9130
|
}, {
|
|
@@ -9277,7 +9283,7 @@
|
|
|
9277
9283
|
key: "supportedVersion",
|
|
9278
9284
|
get: function get() {
|
|
9279
9285
|
return {
|
|
9280
|
-
min: "0.11.
|
|
9286
|
+
min: "0.11.5"
|
|
9281
9287
|
};
|
|
9282
9288
|
}
|
|
9283
9289
|
}, {
|
|
@@ -9404,7 +9410,7 @@
|
|
|
9404
9410
|
key: "supportedVersion",
|
|
9405
9411
|
get: function get() {
|
|
9406
9412
|
return {
|
|
9407
|
-
min: "0.11.
|
|
9413
|
+
min: "0.11.5"
|
|
9408
9414
|
};
|
|
9409
9415
|
}
|
|
9410
9416
|
}, {
|
|
@@ -9452,7 +9458,7 @@
|
|
|
9452
9458
|
key: "supportedVersion",
|
|
9453
9459
|
get: function get() {
|
|
9454
9460
|
return {
|
|
9455
|
-
min: "0.11.
|
|
9461
|
+
min: "0.11.5"
|
|
9456
9462
|
};
|
|
9457
9463
|
}
|
|
9458
9464
|
}, {
|
|
@@ -9572,7 +9578,7 @@
|
|
|
9572
9578
|
key: "supportedVersion",
|
|
9573
9579
|
get: function get() {
|
|
9574
9580
|
return {
|
|
9575
|
-
min: "0.11.
|
|
9581
|
+
min: "0.11.5"
|
|
9576
9582
|
};
|
|
9577
9583
|
}
|
|
9578
9584
|
}, {
|
|
@@ -9691,7 +9697,7 @@
|
|
|
9691
9697
|
key: "supportedVersion",
|
|
9692
9698
|
get: function get() {
|
|
9693
9699
|
return {
|
|
9694
|
-
min: "0.11.
|
|
9700
|
+
min: "0.11.5"
|
|
9695
9701
|
};
|
|
9696
9702
|
}
|
|
9697
9703
|
}, {
|
|
@@ -10182,7 +10188,7 @@
|
|
|
10182
10188
|
key: "supportedVersion",
|
|
10183
10189
|
get: function get() {
|
|
10184
10190
|
return {
|
|
10185
|
-
min: "0.11.
|
|
10191
|
+
min: "0.11.5"
|
|
10186
10192
|
};
|
|
10187
10193
|
}
|
|
10188
10194
|
}, {
|
|
@@ -10982,7 +10988,7 @@
|
|
|
10982
10988
|
key: "supportedVersion",
|
|
10983
10989
|
get: function get() {
|
|
10984
10990
|
return {
|
|
10985
|
-
min: "0.11.
|
|
10991
|
+
min: "0.11.5"
|
|
10986
10992
|
};
|
|
10987
10993
|
}
|
|
10988
10994
|
}, {
|
|
@@ -11185,7 +11191,7 @@
|
|
|
11185
11191
|
key: "supportedVersion",
|
|
11186
11192
|
get: function get() {
|
|
11187
11193
|
return {
|
|
11188
|
-
min: "0.11.
|
|
11194
|
+
min: "0.11.5"
|
|
11189
11195
|
};
|
|
11190
11196
|
}
|
|
11191
11197
|
}, {
|
|
@@ -11387,7 +11393,7 @@
|
|
|
11387
11393
|
key: "supportedVersion",
|
|
11388
11394
|
get: function get() {
|
|
11389
11395
|
return {
|
|
11390
|
-
min: "0.11.
|
|
11396
|
+
min: "0.11.5"
|
|
11391
11397
|
};
|
|
11392
11398
|
}
|
|
11393
11399
|
}, {
|
|
@@ -11465,7 +11471,7 @@
|
|
|
11465
11471
|
key: "supportedVersion",
|
|
11466
11472
|
get: function get() {
|
|
11467
11473
|
return {
|
|
11468
|
-
min: "0.11.
|
|
11474
|
+
min: "0.11.5"
|
|
11469
11475
|
};
|
|
11470
11476
|
}
|
|
11471
11477
|
}, {
|
|
@@ -11586,7 +11592,7 @@
|
|
|
11586
11592
|
key: "supportedVersion",
|
|
11587
11593
|
get: function get() {
|
|
11588
11594
|
return {
|
|
11589
|
-
min: "0.11.
|
|
11595
|
+
min: "0.11.5"
|
|
11590
11596
|
};
|
|
11591
11597
|
}
|
|
11592
11598
|
}, {
|
|
@@ -11658,7 +11664,7 @@
|
|
|
11658
11664
|
WaterMark: WaterMarkPlugin
|
|
11659
11665
|
};
|
|
11660
11666
|
|
|
11661
|
-
var version = "0.11.
|
|
11667
|
+
var version = "0.11.7";
|
|
11662
11668
|
for (var _i = 0, _Object$values = Object.values(Plugins); _i < _Object$values.length; _i++) {
|
|
11663
11669
|
var plugin = _Object$values[_i];
|
|
11664
11670
|
Loader.registerPlugin(plugin);
|
|
@@ -40276,7 +40282,7 @@
|
|
|
40276
40282
|
key: "supportedVersion",
|
|
40277
40283
|
get: function get() {
|
|
40278
40284
|
return {
|
|
40279
|
-
min: "0.11.
|
|
40285
|
+
min: "0.11.5"
|
|
40280
40286
|
};
|
|
40281
40287
|
}
|
|
40282
40288
|
}, {
|