@gcorevideo/player 2.19.3 → 2.19.5
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 +1 -1
- package/dist/index.css +613 -613
- package/dist/index.js +3 -14
- package/dist/plugins/index.css +1368 -1368
- package/dist/plugins/index.js/index.plugins.js +2 -13
- package/lib/plugins/level-selector/LevelSelector.d.ts +0 -2
- package/lib/plugins/level-selector/LevelSelector.d.ts.map +1 -1
- package/lib/plugins/level-selector/LevelSelector.js +2 -13
- package/package.json +1 -1
- package/src/plugins/level-selector/LevelSelector.ts +2 -25
- package/tsconfig.tsbuildinfo +1 -1
package/dist/index.js
CHANGED
|
@@ -42865,7 +42865,7 @@ class Player {
|
|
|
42865
42865
|
}
|
|
42866
42866
|
}
|
|
42867
42867
|
|
|
42868
|
-
var version$1 = "2.19.
|
|
42868
|
+
var version$1 = "2.19.5";
|
|
42869
42869
|
|
|
42870
42870
|
var packages = {
|
|
42871
42871
|
"node_modules/@clappr/core": {
|
|
@@ -47209,7 +47209,7 @@ const arrowLeftIcon = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fil
|
|
|
47209
47209
|
const checkIcon = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M20.5793 4.19296C20.1216 3.86696 19.4777 3.96396 19.1424 4.40896L9.37295 17.3809L4.81634 12.107C4.45222 11.683 3.80218 11.6289 3.36709 11.9839C2.932 12.3389 2.87543 12.97 3.2416 13.393L8.64165 19.643C8.83708 19.869 9.12506 20 9.42849 20C9.4398 20 9.45114 20 9.46246 19.999C9.77926 19.989 10.0724 19.838 10.2586 19.59L20.8015 5.58996C21.1368 5.14496 21.0371 4.51896 20.5793 4.19296Z\"\n fill=\"#C9C9C9\"/>\n</svg>\n";
|
|
47210
47210
|
|
|
47211
47211
|
const T$6 = 'plugins.level_selector';
|
|
47212
|
-
const VERSION$4 = '2.
|
|
47212
|
+
const VERSION$4 = '2.19.4';
|
|
47213
47213
|
/**
|
|
47214
47214
|
* Allows to control the quality level of the playback.
|
|
47215
47215
|
* @beta
|
|
@@ -47267,15 +47267,9 @@ class LevelSelector extends UICorePlugin {
|
|
|
47267
47267
|
};
|
|
47268
47268
|
}
|
|
47269
47269
|
bindEvents() {
|
|
47270
|
-
this.listenTo(this.core, Events$1.
|
|
47271
|
-
this.listenTo(this.core.mediaControl, Events$1.MEDIACONTROL_CONTAINERCHANGED, this.reload);
|
|
47270
|
+
this.listenTo(this.core, Events$1.CORE_ACTIVE_CONTAINER_CHANGED, () => this.bindPlaybackEvents());
|
|
47272
47271
|
this.listenTo(this.core, 'gear:rendered', this.render);
|
|
47273
47272
|
}
|
|
47274
|
-
unBindEvents() {
|
|
47275
|
-
this.stopListening(this.core, Events$1.CORE_READY, () => this.bindPlaybackEvents());
|
|
47276
|
-
this.stopListening(this.core.mediaControl, Events$1.MEDIACONTROL_CONTAINERCHANGED, this.reload);
|
|
47277
|
-
this.stopListening(this.core, 'gear:rendered', this.render);
|
|
47278
|
-
}
|
|
47279
47273
|
bindPlaybackEvents() {
|
|
47280
47274
|
this.removeAuto = false;
|
|
47281
47275
|
this.isHd = false;
|
|
@@ -47305,11 +47299,6 @@ class LevelSelector extends UICorePlugin {
|
|
|
47305
47299
|
}
|
|
47306
47300
|
});
|
|
47307
47301
|
}
|
|
47308
|
-
reload() {
|
|
47309
|
-
this.unBindEvents();
|
|
47310
|
-
this.bindEvents();
|
|
47311
|
-
this.bindPlaybackEvents();
|
|
47312
|
-
}
|
|
47313
47302
|
shouldRender() {
|
|
47314
47303
|
if (!this.core.activeContainer) {
|
|
47315
47304
|
return false;
|