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.
package/lib/index.cjs CHANGED
@@ -5051,6 +5051,7 @@ var AdConfigManager = /*#__PURE__*/ function() {
5051
5051
  this.vmapBreaks = [];
5052
5052
  this.consumedVmapBreakIds = /* @__PURE__ */ new Set();
5053
5053
  this.streamCorrelator = generateCorrelator();
5054
+ this.viewCorrelator = generateCorrelator();
5054
5055
  this.consentSignals = {};
5055
5056
  this.podCounter = 0;
5056
5057
  this.podAssignedByPrefetch = false;
@@ -5486,7 +5487,7 @@ var AdConfigManager = /*#__PURE__*/ function() {
5486
5487
  var adWillPlayMuted = inAdBreak ? adPlayer.getOriginalMutedState() : this.video.muted;
5487
5488
  var envSignals = resolveVastEnvironmentSignals(!!this.config.ctvAdRequest);
5488
5489
  var urlWithMacros = applyVastMacros(baseUrl, {
5489
- correlator: generateCorrelator(),
5490
+ correlator: this.viewCorrelator,
5490
5491
  streamCorrelator: this.streamCorrelator,
5491
5492
  pod: this.podCounter > 0 ? this.podCounter : void 0,
5492
5493
  adPosition: this.adRequestPositionInBreak,
@@ -5532,7 +5533,7 @@ var AdConfigManager = /*#__PURE__*/ function() {
5532
5533
  var adWillPlayMuted = inAdBreak ? adPlayer.getOriginalMutedState() : this.video.muted;
5533
5534
  var envSignals = resolveVastEnvironmentSignals(!!this.config.ctvAdRequest);
5534
5535
  var urlWithMacros = applyVastMacros(baseUrl, {
5535
- correlator: generateCorrelator(),
5536
+ correlator: this.viewCorrelator,
5536
5537
  streamCorrelator: this.streamCorrelator,
5537
5538
  pod: this.podCounter > 0 ? this.podCounter : void 0,
5538
5539
  podMaxAds: podParams.maxAds,
@@ -7383,7 +7384,7 @@ var AdBreakOrchestrator = /*#__PURE__*/ function() {
7383
7384
  // IMA event listeners
7384
7385
  // ───────────────────────────────────────────────────────────────
7385
7386
  function get() {
7386
- return !!this.host.config.optimizedPods;
7387
+ return this.host.config.optimizedPods !== false;
7387
7388
  }
7388
7389
  },
7389
7390
  {
@@ -9523,7 +9524,7 @@ var StormcloudVideoPlayer = /*#__PURE__*/ function() {
9523
9524
  }
9524
9525
  this.adConfig.beginNewAdPod();
9525
9526
  this.adConfig.podAssignedByPrefetch = true;
9526
- var optimizedPods = !!this.config.optimizedPods;
9527
+ var optimizedPods = this.config.optimizedPods !== false;
9527
9528
  var breakDurationMs = marker.durationSeconds != null ? marker.durationSeconds * 1e3 : void 0;
9528
9529
  var generatedUrls = optimizedPods ? [
9529
9530
  this.generatePodVastUrl(baseVastUrl, breakDurationMs)