stormcloud-video-player 0.8.37 → 0.8.38

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/lib/index.cjs CHANGED
@@ -1337,7 +1337,7 @@ function createHlsAdPlayer(contentVideo, options) {
1337
1337
  adHls.destroy();
1338
1338
  }
1339
1339
  adHls = new import_hls.default({
1340
- enableWorker: typeof globalThis !== "undefined",
1340
+ enableWorker: true,
1341
1341
  lowLatencyMode: false
1342
1342
  });
1343
1343
  adHls.loadSource(mediaFile.url);
@@ -6487,7 +6487,7 @@ var HlsEngine = /*#__PURE__*/ function() {
6487
6487
  value: function setupHls() {
6488
6488
  var _this = this;
6489
6489
  this.hls = new import_hls2.default(_object_spread_props(_object_spread({
6490
- enableWorker: typeof globalThis !== "undefined",
6490
+ enableWorker: true,
6491
6491
  backBufferLength: 30,
6492
6492
  liveDurationInfinity: true,
6493
6493
  lowLatencyMode: !!this.config.lowLatencyMode,