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.
@@ -4853,6 +4853,7 @@ var AdConfigManager = /*#__PURE__*/ function() {
4853
4853
  this.vmapBreaks = [];
4854
4854
  this.consumedVmapBreakIds = /* @__PURE__ */ new Set();
4855
4855
  this.streamCorrelator = generateCorrelator();
4856
+ this.viewCorrelator = generateCorrelator();
4856
4857
  this.consentSignals = {};
4857
4858
  this.podCounter = 0;
4858
4859
  this.podAssignedByPrefetch = false;
@@ -5288,7 +5289,7 @@ var AdConfigManager = /*#__PURE__*/ function() {
5288
5289
  var adWillPlayMuted = inAdBreak ? adPlayer.getOriginalMutedState() : this.video.muted;
5289
5290
  var envSignals = resolveVastEnvironmentSignals(!!this.config.ctvAdRequest);
5290
5291
  var urlWithMacros = applyVastMacros(baseUrl, {
5291
- correlator: generateCorrelator(),
5292
+ correlator: this.viewCorrelator,
5292
5293
  streamCorrelator: this.streamCorrelator,
5293
5294
  pod: this.podCounter > 0 ? this.podCounter : void 0,
5294
5295
  adPosition: this.adRequestPositionInBreak,
@@ -5334,7 +5335,7 @@ var AdConfigManager = /*#__PURE__*/ function() {
5334
5335
  var adWillPlayMuted = inAdBreak ? adPlayer.getOriginalMutedState() : this.video.muted;
5335
5336
  var envSignals = resolveVastEnvironmentSignals(!!this.config.ctvAdRequest);
5336
5337
  var urlWithMacros = applyVastMacros(baseUrl, {
5337
- correlator: generateCorrelator(),
5338
+ correlator: this.viewCorrelator,
5338
5339
  streamCorrelator: this.streamCorrelator,
5339
5340
  pod: this.podCounter > 0 ? this.podCounter : void 0,
5340
5341
  podMaxAds: podParams.maxAds,
@@ -7185,7 +7186,7 @@ var AdBreakOrchestrator = /*#__PURE__*/ function() {
7185
7186
  // IMA event listeners
7186
7187
  // ───────────────────────────────────────────────────────────────
7187
7188
  function get() {
7188
- return !!this.host.config.optimizedPods;
7189
+ return this.host.config.optimizedPods !== false;
7189
7190
  }
7190
7191
  },
7191
7192
  {
@@ -9325,7 +9326,7 @@ var StormcloudVideoPlayer = /*#__PURE__*/ function() {
9325
9326
  }
9326
9327
  this.adConfig.beginNewAdPod();
9327
9328
  this.adConfig.podAssignedByPrefetch = true;
9328
- var optimizedPods = !!this.config.optimizedPods;
9329
+ var optimizedPods = this.config.optimizedPods !== false;
9329
9330
  var breakDurationMs = marker.durationSeconds != null ? marker.durationSeconds * 1e3 : void 0;
9330
9331
  var generatedUrls = optimizedPods ? [
9331
9332
  this.generatePodVastUrl(baseVastUrl, breakDurationMs)