@gcorevideo/player 2.19.3 → 2.19.4
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 +1417 -1417
- package/dist/index.js +19 -8
- package/dist/plugins/index.css +548 -548
- package/dist/plugins/index.js/index.plugins.js +18 -7
- package/lib/plugins/level-selector/LevelSelector.d.ts.map +1 -1
- package/lib/plugins/level-selector/LevelSelector.js +18 -7
- package/package.json +1 -1
- package/src/plugins/level-selector/LevelSelector.ts +18 -17
- 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.4";
|
|
42869
42869
|
|
|
42870
42870
|
var packages = {
|
|
42871
42871
|
"node_modules/@clappr/core": {
|
|
@@ -47267,14 +47267,25 @@ class LevelSelector extends UICorePlugin {
|
|
|
47267
47267
|
};
|
|
47268
47268
|
}
|
|
47269
47269
|
bindEvents() {
|
|
47270
|
-
this.listenTo(this.core, Events
|
|
47271
|
-
this.listenTo(
|
|
47270
|
+
// this.listenTo(this.core, Events.CORE_READY, () => this.bindPlaybackEvents())
|
|
47271
|
+
// this.listenTo(
|
|
47272
|
+
// this.core.mediaControl,
|
|
47273
|
+
// Events.MEDIACONTROL_CONTAINERCHANGED,
|
|
47274
|
+
// this.reload,
|
|
47275
|
+
// )
|
|
47276
|
+
this.listenTo(this.core, Events$1.CORE_ACTIVE_CONTAINER_CHANGED, () => this.bindPlaybackEvents());
|
|
47272
47277
|
this.listenTo(this.core, 'gear:rendered', this.render);
|
|
47273
47278
|
}
|
|
47274
47279
|
unBindEvents() {
|
|
47275
|
-
this.stopListening(this.core, Events
|
|
47276
|
-
this.
|
|
47277
|
-
|
|
47280
|
+
// this.stopListening(this.core, Events.CORE_READY, () =>
|
|
47281
|
+
// this.bindPlaybackEvents(),
|
|
47282
|
+
// )
|
|
47283
|
+
// this.stopListening(
|
|
47284
|
+
// this.core.mediaControl,
|
|
47285
|
+
// Events.MEDIACONTROL_CONTAINERCHANGED,
|
|
47286
|
+
// this.reload,
|
|
47287
|
+
// )
|
|
47288
|
+
// this.stopListening(this.core, 'gear:rendered', this.render)
|
|
47278
47289
|
}
|
|
47279
47290
|
bindPlaybackEvents() {
|
|
47280
47291
|
this.removeAuto = false;
|
|
@@ -47307,8 +47318,8 @@ class LevelSelector extends UICorePlugin {
|
|
|
47307
47318
|
}
|
|
47308
47319
|
reload() {
|
|
47309
47320
|
this.unBindEvents();
|
|
47310
|
-
this.bindEvents()
|
|
47311
|
-
this.bindPlaybackEvents()
|
|
47321
|
+
// this.bindEvents()
|
|
47322
|
+
// this.bindPlaybackEvents()
|
|
47312
47323
|
}
|
|
47313
47324
|
shouldRender() {
|
|
47314
47325
|
if (!this.core.activeContainer) {
|