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,4 +1,4 @@
1
- import { A as AdController } from '../types-BAP8n5mE.cjs';
1
+ import { A as AdController } from '../types-DNiBmPKK.cjs';
2
2
  import Hls from 'hls.js';
3
3
 
4
4
  declare function createHlsAdPlayer(contentVideo: HTMLVideoElement, options?: {
@@ -2648,7 +2648,6 @@ var CTV_UNSUPPORTED_PARAMS = [
2648
2648
  "max_ad_duration",
2649
2649
  "unviewed_position_start",
2650
2650
  "impl",
2651
- "scor",
2652
2651
  "vad_type",
2653
2652
  "gdpr",
2654
2653
  "gdpr_consent",
@@ -2937,6 +2936,7 @@ function applyVastMacros(baseUrl, ctx) {
2937
2936
  var params = url.searchParams;
2938
2937
  removeBrokenAppNameOrphans(params, ctx.appName);
2939
2938
  params.set("correlator", ctx.correlator);
2939
+ params.set("scor", ctx.streamCorrelator);
2940
2940
  if (ctx.isCtv) {
2941
2941
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
2942
2942
  try {
@@ -2958,8 +2958,6 @@ function applyVastMacros(baseUrl, ctx) {
2958
2958
  }
2959
2959
  }
2960
2960
  }
2961
- } else {
2962
- params.set("scor", ctx.streamCorrelator);
2963
2961
  }
2964
2962
  if (ctx.pod != null) {
2965
2963
  params.set("pod", String(ctx.pod));