stormcloud-video-player 0.8.27 → 0.8.28

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.
@@ -4817,6 +4817,7 @@ var AdConfigManager = /*#__PURE__*/ function() {
4817
4817
  this.vmapBreaks = [];
4818
4818
  this.consumedVmapBreakIds = /* @__PURE__ */ new Set();
4819
4819
  this.streamCorrelator = generateCorrelator();
4820
+ this.viewCorrelator = generateCorrelator();
4820
4821
  this.consentSignals = {};
4821
4822
  this.podCounter = 0;
4822
4823
  this.podAssignedByPrefetch = false;
@@ -5252,7 +5253,7 @@ var AdConfigManager = /*#__PURE__*/ function() {
5252
5253
  var adWillPlayMuted = inAdBreak ? adPlayer.getOriginalMutedState() : this.video.muted;
5253
5254
  var envSignals = resolveVastEnvironmentSignals(!!this.config.ctvAdRequest);
5254
5255
  var urlWithMacros = applyVastMacros(baseUrl, {
5255
- correlator: generateCorrelator(),
5256
+ correlator: this.viewCorrelator,
5256
5257
  streamCorrelator: this.streamCorrelator,
5257
5258
  pod: this.podCounter > 0 ? this.podCounter : void 0,
5258
5259
  adPosition: this.adRequestPositionInBreak,
@@ -5298,7 +5299,7 @@ var AdConfigManager = /*#__PURE__*/ function() {
5298
5299
  var adWillPlayMuted = inAdBreak ? adPlayer.getOriginalMutedState() : this.video.muted;
5299
5300
  var envSignals = resolveVastEnvironmentSignals(!!this.config.ctvAdRequest);
5300
5301
  var urlWithMacros = applyVastMacros(baseUrl, {
5301
- correlator: generateCorrelator(),
5302
+ correlator: this.viewCorrelator,
5302
5303
  streamCorrelator: this.streamCorrelator,
5303
5304
  pod: this.podCounter > 0 ? this.podCounter : void 0,
5304
5305
  podMaxAds: podParams.maxAds,
@@ -7149,7 +7150,7 @@ var AdBreakOrchestrator = /*#__PURE__*/ function() {
7149
7150
  // IMA event listeners
7150
7151
  // ───────────────────────────────────────────────────────────────
7151
7152
  function get() {
7152
- return !!this.host.config.optimizedPods;
7153
+ return this.host.config.optimizedPods !== false;
7153
7154
  }
7154
7155
  },
7155
7156
  {
@@ -9289,7 +9290,7 @@ var StormcloudVideoPlayer = /*#__PURE__*/ function() {
9289
9290
  }
9290
9291
  this.adConfig.beginNewAdPod();
9291
9292
  this.adConfig.podAssignedByPrefetch = true;
9292
- var optimizedPods = !!this.config.optimizedPods;
9293
+ var optimizedPods = this.config.optimizedPods !== false;
9293
9294
  var breakDurationMs = marker.durationSeconds != null ? marker.durationSeconds * 1e3 : void 0;
9294
9295
  var generatedUrls = optimizedPods ? [
9295
9296
  this.generatePodVastUrl(baseVastUrl, breakDurationMs)