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.
@@ -4803,6 +4803,7 @@ var AdConfigManager = /*#__PURE__*/ function() {
4803
4803
  this.vmapBreaks = [];
4804
4804
  this.consumedVmapBreakIds = /* @__PURE__ */ new Set();
4805
4805
  this.streamCorrelator = generateCorrelator();
4806
+ this.viewCorrelator = generateCorrelator();
4806
4807
  this.consentSignals = {};
4807
4808
  this.podCounter = 0;
4808
4809
  this.podAssignedByPrefetch = false;
@@ -5238,7 +5239,7 @@ var AdConfigManager = /*#__PURE__*/ function() {
5238
5239
  var adWillPlayMuted = inAdBreak ? adPlayer.getOriginalMutedState() : this.video.muted;
5239
5240
  var envSignals = resolveVastEnvironmentSignals(!!this.config.ctvAdRequest);
5240
5241
  var urlWithMacros = applyVastMacros(baseUrl, {
5241
- correlator: generateCorrelator(),
5242
+ correlator: this.viewCorrelator,
5242
5243
  streamCorrelator: this.streamCorrelator,
5243
5244
  pod: this.podCounter > 0 ? this.podCounter : void 0,
5244
5245
  adPosition: this.adRequestPositionInBreak,
@@ -5284,7 +5285,7 @@ var AdConfigManager = /*#__PURE__*/ function() {
5284
5285
  var adWillPlayMuted = inAdBreak ? adPlayer.getOriginalMutedState() : this.video.muted;
5285
5286
  var envSignals = resolveVastEnvironmentSignals(!!this.config.ctvAdRequest);
5286
5287
  var urlWithMacros = applyVastMacros(baseUrl, {
5287
- correlator: generateCorrelator(),
5288
+ correlator: this.viewCorrelator,
5288
5289
  streamCorrelator: this.streamCorrelator,
5289
5290
  pod: this.podCounter > 0 ? this.podCounter : void 0,
5290
5291
  podMaxAds: podParams.maxAds,
@@ -7135,7 +7136,7 @@ var AdBreakOrchestrator = /*#__PURE__*/ function() {
7135
7136
  // IMA event listeners
7136
7137
  // ───────────────────────────────────────────────────────────────
7137
7138
  function get() {
7138
- return !!this.host.config.optimizedPods;
7139
+ return this.host.config.optimizedPods !== false;
7139
7140
  }
7140
7141
  },
7141
7142
  {
@@ -9275,7 +9276,7 @@ var StormcloudVideoPlayer = /*#__PURE__*/ function() {
9275
9276
  }
9276
9277
  this.adConfig.beginNewAdPod();
9277
9278
  this.adConfig.podAssignedByPrefetch = true;
9278
- var optimizedPods = !!this.config.optimizedPods;
9279
+ var optimizedPods = this.config.optimizedPods !== false;
9279
9280
  var breakDurationMs = marker.durationSeconds != null ? marker.durationSeconds * 1e3 : void 0;
9280
9281
  var generatedUrls = optimizedPods ? [
9281
9282
  this.generatePodVastUrl(baseVastUrl, breakDurationMs)