@gcorevideo/player 2.19.4 → 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 +1314 -1314
- package/dist/index.js +2 -24
- package/dist/plugins/index.css +1330 -1330
- package/dist/plugins/index.js/index.plugins.js +1 -23
- 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 +1 -23
- package/package.json +1 -1
- package/src/plugins/level-selector/LevelSelector.ts +1 -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,26 +47267,9 @@ class LevelSelector extends UICorePlugin {
|
|
|
47267
47267
|
};
|
|
47268
47268
|
}
|
|
47269
47269
|
bindEvents() {
|
|
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
47270
|
this.listenTo(this.core, Events$1.CORE_ACTIVE_CONTAINER_CHANGED, () => this.bindPlaybackEvents());
|
|
47277
47271
|
this.listenTo(this.core, 'gear:rendered', this.render);
|
|
47278
47272
|
}
|
|
47279
|
-
unBindEvents() {
|
|
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)
|
|
47289
|
-
}
|
|
47290
47273
|
bindPlaybackEvents() {
|
|
47291
47274
|
this.removeAuto = false;
|
|
47292
47275
|
this.isHd = false;
|
|
@@ -47316,11 +47299,6 @@ class LevelSelector extends UICorePlugin {
|
|
|
47316
47299
|
}
|
|
47317
47300
|
});
|
|
47318
47301
|
}
|
|
47319
|
-
reload() {
|
|
47320
|
-
this.unBindEvents();
|
|
47321
|
-
// this.bindEvents()
|
|
47322
|
-
// this.bindPlaybackEvents()
|
|
47323
|
-
}
|
|
47324
47302
|
shouldRender() {
|
|
47325
47303
|
if (!this.core.activeContainer) {
|
|
47326
47304
|
return false;
|