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 { b as AdBreak, S as StormcloudVideoPlayerConfig, A as AdController } from '../types-BAP8n5mE.cjs';
1
+ import { b as AdBreak, a as StormcloudVideoPlayerConfig, A as AdController } from '../types-DNiBmPKK.cjs';
2
2
  import { PalNonceManager } from '../sdk/pal.cjs';
3
3
  import { VastConsentSignals } from '../utils/vastMacros.cjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { A as AdController, a as Scte35Marker } from '../types-BAP8n5mE.cjs';
1
+ import { A as AdController, S as Scte35Marker } from '../types-DNiBmPKK.cjs';
2
2
  import { AdTimingService } from './AdTimingService.cjs';
3
3
 
4
4
  interface AdPreloadPoolDeps {
@@ -1,4 +1,4 @@
1
- import { S as StormcloudVideoPlayerConfig, a as Scte35Marker, A as AdController } from '../types-BAP8n5mE.cjs';
1
+ import { a as StormcloudVideoPlayerConfig, S as Scte35Marker, A as AdController } from '../types-DNiBmPKK.cjs';
2
2
 
3
3
  interface AdTimingCallbacks {
4
4
  onAdStopTimerFired(): void;
@@ -1,5 +1,5 @@
1
1
  import Hls from 'hls.js';
2
- import { S as StormcloudVideoPlayerConfig, a as Scte35Marker } from '../types-BAP8n5mE.cjs';
2
+ import { a as StormcloudVideoPlayerConfig, S as Scte35Marker } from '../types-DNiBmPKK.cjs';
3
3
  import { Scte35CueContext } from './playerTypes.cjs';
4
4
  import { Scte35CueManager } from './Scte35CueManager.cjs';
5
5
  import { AdTimingService } from './AdTimingService.cjs';
@@ -1,4 +1,4 @@
1
- import { A as AdController } from '../types-BAP8n5mE.cjs';
1
+ import { A as AdController } from '../types-DNiBmPKK.cjs';
2
2
 
3
3
  declare function getAdAudioVolume(adPlayer: AdController): number;
4
4
  declare function toggleMute(video: HTMLVideoElement, adPlayer: AdController, debug: boolean): void;
@@ -1,4 +1,4 @@
1
- import { a as Scte35Marker } from '../types-BAP8n5mE.cjs';
1
+ import { S as Scte35Marker } from '../types-DNiBmPKK.cjs';
2
2
  import { Scte35CueSource, Scte35CueReadiness, Scte35CueContext } from './playerTypes.cjs';
3
3
 
4
4
  interface Scte35CueManagerCallbacks {
@@ -1,4 +1,4 @@
1
- import { a as Scte35Marker, I as Id3TagInfo } from '../types-BAP8n5mE.cjs';
1
+ import { S as Scte35Marker, I as Id3TagInfo } from '../types-DNiBmPKK.cjs';
2
2
 
3
3
  declare function parseCueOutDuration(value: string): number | undefined;
4
4
  declare function parseCueOutCont(value: string): {
@@ -2611,7 +2611,6 @@ var CTV_UNSUPPORTED_PARAMS = [
2611
2611
  "max_ad_duration",
2612
2612
  "unviewed_position_start",
2613
2613
  "impl",
2614
- "scor",
2615
2614
  "vad_type",
2616
2615
  "gdpr",
2617
2616
  "gdpr_consent",
@@ -2900,6 +2899,7 @@ function applyVastMacros(baseUrl, ctx) {
2900
2899
  var params = url.searchParams;
2901
2900
  removeBrokenAppNameOrphans(params, ctx.appName);
2902
2901
  params.set("correlator", ctx.correlator);
2902
+ params.set("scor", ctx.streamCorrelator);
2903
2903
  if (ctx.isCtv) {
2904
2904
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
2905
2905
  try {
@@ -2921,8 +2921,6 @@ function applyVastMacros(baseUrl, ctx) {
2921
2921
  }
2922
2922
  }
2923
2923
  }
2924
- } else {
2925
- params.set("scor", ctx.streamCorrelator);
2926
2924
  }
2927
2925
  if (ctx.pod != null) {
2928
2926
  params.set("pod", String(ctx.pod));