@thestatic-tv/dcl-sdk 2.5.6 → 2.5.7

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/index.js CHANGED
@@ -3616,6 +3616,13 @@ var StaticTVClient = class {
3616
3616
  });
3617
3617
  });
3618
3618
  }
3619
+ if (this.config.videoScreen !== void 0) {
3620
+ const fallbackUrl = this.config.fallbackVideoUrl !== void 0 ? this.config.fallbackVideoUrl : DEFAULT_FALLBACK_VIDEO;
3621
+ if (fallbackUrl !== "") {
3622
+ this._playVideoInternal(fallbackUrl, true, false);
3623
+ this.log(`Auto-playing fallback video: ${fallbackUrl}`);
3624
+ }
3625
+ }
3619
3626
  this.log(`StaticTVClient initialized (${this._keyType} mode)`);
3620
3627
  }
3621
3628
  /** Get the API base URL (for internal module use) */
package/dist/index.mjs CHANGED
@@ -3573,6 +3573,13 @@ var StaticTVClient = class {
3573
3573
  });
3574
3574
  });
3575
3575
  }
3576
+ if (this.config.videoScreen !== void 0) {
3577
+ const fallbackUrl = this.config.fallbackVideoUrl !== void 0 ? this.config.fallbackVideoUrl : DEFAULT_FALLBACK_VIDEO;
3578
+ if (fallbackUrl !== "") {
3579
+ this._playVideoInternal(fallbackUrl, true, false);
3580
+ this.log(`Auto-playing fallback video: ${fallbackUrl}`);
3581
+ }
3582
+ }
3576
3583
  this.log(`StaticTVClient initialized (${this._keyType} mode)`);
3577
3584
  }
3578
3585
  /** Get the API base URL (for internal module use) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thestatic-tv/dcl-sdk",
3
- "version": "2.5.6",
3
+ "version": "2.5.7",
4
4
  "description": "Connect your Decentraland scene to thestatic.tv - full channel lineup, metrics tracking, and interactions",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",