stormcloud-video-player 0.3.62 → 0.3.64

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 { S as StormcloudVideoPlayerConfig } from '../types-BJPNhfLV.cjs';
1
+ import { S as StormcloudVideoPlayerConfig } from '../types-CjI14dPN.cjs';
2
2
 
3
3
  declare class StormcloudVideoPlayer {
4
4
  private readonly video;
@@ -42,6 +42,7 @@ declare class StormcloudVideoPlayer {
42
42
  private maxPlaceholderDurationMs;
43
43
  private isShowingPlaceholder;
44
44
  private timeUpdateHandler?;
45
+ private endedHandler?;
45
46
  private emptiedHandler?;
46
47
  private readonly tsScte35Pids;
47
48
  private readonly pmtPids;
@@ -128,9 +129,11 @@ declare class StormcloudVideoPlayer {
128
129
  private markerTypeFromSegmentationTypeId;
129
130
  private initializeTracking;
130
131
  private sendHeartbeatIfNeeded;
132
+ private isVmapEnabled;
131
133
  private fetchAdConfiguration;
132
134
  private fetchAndParseVmap;
133
135
  private parseVmapToBreaks;
136
+ private resolveVmapAdTagUrl;
134
137
  private parseVmapTimeOffsetToMs;
135
138
  private getAdBreakKey;
136
139
  private resolveBreakStartMs;
@@ -160,7 +163,8 @@ declare class StormcloudVideoPlayer {
160
163
  private showPlaceholderAndWaitForAds;
161
164
  private findCurrentOrNextBreak;
162
165
  private onTimeUpdate;
163
- private handleMidAdJoin;
166
+ private onVideoEnded;
167
+ private handleVmapAdBreak;
164
168
  private scheduleAdStopCountdown;
165
169
  private clearAdStopTimer;
166
170
  private ensureAdStoppedByTimer;