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.js CHANGED
@@ -1120,7 +1120,7 @@ function createHlsAdPlayer(contentVideo, options) {
1120
1120
  adHls.destroy();
1121
1121
  }
1122
1122
  adHls = new Hls({
1123
- enableWorker: typeof globalThis !== "undefined",
1123
+ enableWorker: true,
1124
1124
  lowLatencyMode: false
1125
1125
  });
1126
1126
  adHls.loadSource(mediaFile.url);
@@ -6278,7 +6278,7 @@ var HlsEngine = /*#__PURE__*/ function() {
6278
6278
  value: function setupHls() {
6279
6279
  var _this = this;
6280
6280
  this.hls = new Hls2(_object_spread_props(_object_spread({
6281
- enableWorker: typeof globalThis !== "undefined",
6281
+ enableWorker: true,
6282
6282
  backBufferLength: 30,
6283
6283
  liveDurationInfinity: true,
6284
6284
  lowLatencyMode: !!this.config.lowLatencyMode,