stormcloud-video-player 0.8.20 → 0.8.21

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.
@@ -1,5 +1,5 @@
1
1
  import { Component } from 'react';
2
- import { S as StormcloudVideoPlayerConfig } from '../types-BAP8n5mE.cjs';
2
+ import { a as StormcloudVideoPlayerConfig } from '../types-DNiBmPKK.cjs';
3
3
 
4
4
  interface HlsPlayerProps extends StormcloudVideoPlayerConfig {
5
5
  onMount?: (player: any) => void;
@@ -2698,7 +2698,6 @@ var CTV_UNSUPPORTED_PARAMS = [
2698
2698
  "max_ad_duration",
2699
2699
  "unviewed_position_start",
2700
2700
  "impl",
2701
- "scor",
2702
2701
  "vad_type",
2703
2702
  "gdpr",
2704
2703
  "gdpr_consent",
@@ -2987,6 +2986,7 @@ function applyVastMacros(baseUrl, ctx) {
2987
2986
  var params = url.searchParams;
2988
2987
  removeBrokenAppNameOrphans(params, ctx.appName);
2989
2988
  params.set("correlator", ctx.correlator);
2989
+ params.set("scor", ctx.streamCorrelator);
2990
2990
  if (ctx.isCtv) {
2991
2991
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
2992
2992
  try {
@@ -3008,8 +3008,6 @@ function applyVastMacros(baseUrl, ctx) {
3008
3008
  }
3009
3009
  }
3010
3010
  }
3011
- } else {
3012
- params.set("scor", ctx.streamCorrelator);
3013
3011
  }
3014
3012
  if (ctx.pod != null) {
3015
3013
  params.set("pod", String(ctx.pod));