stormcloud-video-player 0.3.21 → 0.3.22

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.
package/lib/index.d.cts CHANGED
@@ -40,8 +40,6 @@ interface StormcloudVideoPlayerConfig {
40
40
  interface ImaController {
41
41
  initialize: () => void;
42
42
  requestAds: (vastTagUrl: string) => Promise<void>;
43
- preloadAds: (vastTagUrl: string) => Promise<void>;
44
- hasPreloadedAd: (vastTagUrl: string) => boolean;
45
43
  play: () => Promise<void>;
46
44
  stop: () => Promise<void>;
47
45
  destroy: () => void;
@@ -137,19 +135,12 @@ declare class StormcloudVideoPlayer {
137
135
  private failedVastUrls;
138
136
  private continuousFetchingActive;
139
137
  private adRequestQueue;
140
- private successfulAdRequests;
141
138
  private maxPlaceholderDurationMs;
142
- private placeholderStartTimeMs;
143
139
  private isShowingPlaceholder;
144
140
  private timeUpdateHandler?;
145
141
  private emptiedHandler?;
146
- private consecutiveEmptyResponses;
147
142
  private totalAdRequestsInBreak;
148
- private lastEmptyResponseTimeMs;
149
143
  private readonly maxTotalAdRequestsPerBreak;
150
- private readonly maxConsecutiveEmptyResponses;
151
- private readonly baseEmptyResponseDelayMs;
152
- private readonly maxEmptyResponseDelayMs;
153
144
  constructor(config: StormcloudVideoPlayerConfig);
154
145
  private createAdPlayer;
155
146
  load(): Promise<void>;
package/lib/index.d.ts CHANGED
@@ -40,8 +40,6 @@ interface StormcloudVideoPlayerConfig {
40
40
  interface ImaController {
41
41
  initialize: () => void;
42
42
  requestAds: (vastTagUrl: string) => Promise<void>;
43
- preloadAds: (vastTagUrl: string) => Promise<void>;
44
- hasPreloadedAd: (vastTagUrl: string) => boolean;
45
43
  play: () => Promise<void>;
46
44
  stop: () => Promise<void>;
47
45
  destroy: () => void;
@@ -137,19 +135,12 @@ declare class StormcloudVideoPlayer {
137
135
  private failedVastUrls;
138
136
  private continuousFetchingActive;
139
137
  private adRequestQueue;
140
- private successfulAdRequests;
141
138
  private maxPlaceholderDurationMs;
142
- private placeholderStartTimeMs;
143
139
  private isShowingPlaceholder;
144
140
  private timeUpdateHandler?;
145
141
  private emptiedHandler?;
146
- private consecutiveEmptyResponses;
147
142
  private totalAdRequestsInBreak;
148
- private lastEmptyResponseTimeMs;
149
143
  private readonly maxTotalAdRequestsPerBreak;
150
- private readonly maxConsecutiveEmptyResponses;
151
- private readonly baseEmptyResponseDelayMs;
152
- private readonly maxEmptyResponseDelayMs;
153
144
  constructor(config: StormcloudVideoPlayerConfig);
154
145
  private createAdPlayer;
155
146
  load(): Promise<void>;