@gcorevideo/player 2.19.9 → 2.19.10

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.
@@ -40588,7 +40588,7 @@ class SourceController extends CorePlugin {
40588
40588
  */
40589
40589
  bindEvents() {
40590
40590
  super.bindEvents();
40591
- this.listenTo(this.core, Events$1.CORE_READY, () => this.onReady());
40591
+ this.listenTo(this.core, Events$1.CORE_ACTIVE_CONTAINER_CHANGED, () => this.onReady());
40592
40592
  }
40593
40593
  onReady() {
40594
40594
  trace(`${T} onReady`, {
@@ -93,7 +93,7 @@ export class SourceController extends CorePlugin {
93
93
  */
94
94
  bindEvents() {
95
95
  super.bindEvents();
96
- this.listenTo(this.core, ClapprEvents.CORE_READY, () => this.onReady());
96
+ this.listenTo(this.core, ClapprEvents.CORE_ACTIVE_CONTAINER_CHANGED, () => this.onReady());
97
97
  }
98
98
  onReady() {
99
99
  trace(`${T} onReady`, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gcorevideo/player",
3
- "version": "2.19.9",
3
+ "version": "2.19.10",
4
4
  "description": "Gcore JavaScript video player",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -121,7 +121,7 @@ export class SourceController extends CorePlugin {
121
121
  override bindEvents() {
122
122
  super.bindEvents()
123
123
 
124
- this.listenTo(this.core, ClapprEvents.CORE_READY, () => this.onReady())
124
+ this.listenTo(this.core, ClapprEvents.CORE_ACTIVE_CONTAINER_CHANGED, () => this.onReady())
125
125
  }
126
126
 
127
127
  private onReady() {