@gcorevideo/player 2.19.11 → 2.19.12

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.
@@ -40601,7 +40601,6 @@ class SourceController extends CorePlugin {
40601
40601
  else {
40602
40602
  this.sync = noSync;
40603
40603
  }
40604
- // TODO bind to CORE_ACTIVE_CONTAINER_CHANGED
40605
40604
  this.bindContainerEventListeners();
40606
40605
  if (this.active) {
40607
40606
  this.core.activeContainer?.getPlugin('poster_custom')?.disable();
package/lib/Player.js CHANGED
@@ -353,7 +353,6 @@ export class Player {
353
353
  this.rootNode = rootNode;
354
354
  const coreOptions = $.extend(true, {
355
355
  allowUserInteraction: true,
356
- autoPlay: false,
357
356
  debug: 'none',
358
357
  events: this.events,
359
358
  height: rootNode.clientHeight,
@@ -372,6 +371,7 @@ export class Player {
372
371
  source: source ? source.source : undefined,
373
372
  mimeType: source ? source.mimeType : undefined,
374
373
  }, this.config, {
374
+ autoPlay: false, // TODO write a test to check it's reset to false
375
375
  sources,
376
376
  });
377
377
  return coreOptions;
@@ -1 +1 @@
1
- {"version":3,"file":"SourceController.d.ts","sourceRoot":"","sources":["../../../src/plugins/source-controller/SourceController.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,KAAK,IAAI,IAAI,UAAU,EACxB,MAAM,cAAc,CAAA;AA4BrB;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,gBAAiB,SAAQ,UAAU;IAuC9C,OAAO,CAAC,WAAW,CAA8B;IAEjD,OAAO,CAAC,kBAAkB,CAAI;IAE9B,OAAO,CAAC,YAAY,CAA6B;IAEjD,OAAO,CAAC,MAAM,CAAQ;IAEtB,OAAO,CAAC,IAAI,CAAiB;IAE7B,IAAI,IAAI,WAEP;IAED,IAAI,gBAAgB;;MAEnB;gBAEW,IAAI,EAAE,UAAU;IAW5B;;OAEG;IACM,UAAU;IAMnB,OAAO,CAAC,OAAO;IAqBf,OAAO,CAAC,2BAA2B;IAsCnC,OAAO,CAAC,KAAK;IAKb,OAAO,CAAC,aAAa;IA0BrB,OAAO,CAAC,kBAAkB;IAe1B,MAAM,KAAK,OAAO,WAEjB;CACF"}
1
+ {"version":3,"file":"SourceController.d.ts","sourceRoot":"","sources":["../../../src/plugins/source-controller/SourceController.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,KAAK,IAAI,IAAI,UAAU,EACxB,MAAM,cAAc,CAAA;AA4BrB;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,gBAAiB,SAAQ,UAAU;IAuC9C,OAAO,CAAC,WAAW,CAA8B;IAEjD,OAAO,CAAC,kBAAkB,CAAI;IAE9B,OAAO,CAAC,YAAY,CAA6B;IAEjD,OAAO,CAAC,MAAM,CAAQ;IAEtB,OAAO,CAAC,IAAI,CAAiB;IAE7B,IAAI,IAAI,WAEP;IAED,IAAI,gBAAgB;;MAEnB;gBAEW,IAAI,EAAE,UAAU;IAW5B;;OAEG;IACM,UAAU;IAMnB,OAAO,CAAC,OAAO;IAoBf,OAAO,CAAC,2BAA2B;IAsCnC,OAAO,CAAC,KAAK;IAKb,OAAO,CAAC,aAAa;IA0BrB,OAAO,CAAC,kBAAkB;IAe1B,MAAM,KAAK,OAAO,WAEjB;CACF"}
@@ -109,7 +109,6 @@ export class SourceController extends CorePlugin {
109
109
  else {
110
110
  this.sync = noSync;
111
111
  }
112
- // TODO bind to CORE_ACTIVE_CONTAINER_CHANGED
113
112
  this.bindContainerEventListeners();
114
113
  if (this.active) {
115
114
  this.core.activeContainer?.getPlugin('poster_custom')?.disable();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gcorevideo/player",
3
- "version": "2.19.11",
3
+ "version": "2.19.12",
4
4
  "description": "Gcore JavaScript video player",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
package/src/Player.ts CHANGED
@@ -441,7 +441,6 @@ export class Player {
441
441
 
442
442
  const coreOptions: CoreOptions & PluginOptions = $.extend(true, {
443
443
  allowUserInteraction: true,
444
- autoPlay: false,
445
444
  debug: 'none',
446
445
  events: this.events,
447
446
  height: rootNode.clientHeight,
@@ -460,6 +459,7 @@ export class Player {
460
459
  source: source ? source.source : undefined,
461
460
  mimeType: source ? source.mimeType : undefined,
462
461
  }, this.config, {
462
+ autoPlay: false, // TODO write a test to check it's reset to false
463
463
  sources,
464
464
  })
465
465
  return coreOptions
@@ -137,7 +137,6 @@ export class SourceController extends CorePlugin {
137
137
  } else {
138
138
  this.sync = noSync
139
139
  }
140
- // TODO bind to CORE_ACTIVE_CONTAINER_CHANGED
141
140
  this.bindContainerEventListeners()
142
141
  if (this.active) {
143
142
  this.core.activeContainer?.getPlugin('poster_custom')?.disable()