stormcloud-video-player 0.8.3 → 0.8.4

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-DWVgdqF-.cjs';
1
+ import { S as StormcloudVideoPlayerConfig } from '../types-BmF_60m2.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;
@@ -130,6 +131,7 @@ declare class StormcloudVideoPlayer {
130
131
  private markerTypeFromSegmentationTypeId;
131
132
  private initializeTracking;
132
133
  private sendHeartbeatIfNeeded;
134
+ private isVmapEnabled;
133
135
  private fetchAdConfiguration;
134
136
  private fetchAndParseVmap;
135
137
  private parseVmapToBreaks;
@@ -162,7 +164,8 @@ declare class StormcloudVideoPlayer {
162
164
  private showPlaceholderAndWaitForAds;
163
165
  private findCurrentOrNextBreak;
164
166
  private onTimeUpdate;
165
- private handleMidAdJoin;
167
+ private onVideoEnded;
168
+ private handleVmapAdBreak;
166
169
  private scheduleAdStopCountdown;
167
170
  private clearAdStopTimer;
168
171
  private ensureAdStoppedByTimer;