@eluvio/elv-player-js 1.0.69 → 1.0.70
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/package-lock.json +1 -1
- package/package.json +1 -1
- package/src/index.js +5 -1
package/package-lock.json
CHANGED
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -576,7 +576,6 @@ export class EluvioPlayer {
|
|
|
576
576
|
|
|
577
577
|
if(multiviewOptions.enabled) { controlsPromise.then(() => this.controls.InitializeMultiViewControls(multiviewOptions)); }
|
|
578
578
|
} else if(protocol === "hls") {
|
|
579
|
-
|
|
580
579
|
playoutUrl.removeQuery("authorization");
|
|
581
580
|
|
|
582
581
|
// Inject
|
|
@@ -723,6 +722,11 @@ export class EluvioPlayer {
|
|
|
723
722
|
}
|
|
724
723
|
|
|
725
724
|
this.RegisterVisibilityCallback();
|
|
725
|
+
|
|
726
|
+
if(this.__destroyed) {
|
|
727
|
+
// If Destroy was called during the initialization process, ensure that the player is properly destroyed
|
|
728
|
+
this.Destroy();
|
|
729
|
+
}
|
|
726
730
|
} catch (error) {
|
|
727
731
|
this.playerOptions.errorCallback(error);
|
|
728
732
|
|