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/dist/stormcloud-vp.min.js +1 -1
- package/lib/index.cjs +88 -354
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +0 -9
- package/lib/index.d.ts +0 -9
- package/lib/index.js +88 -354
- package/lib/index.js.map +1 -1
- package/lib/player/StormcloudVideoPlayer.cjs +88 -354
- package/lib/player/StormcloudVideoPlayer.cjs.map +1 -1
- package/lib/player/StormcloudVideoPlayer.d.cts +1 -8
- package/lib/players/FilePlayer.cjs.map +1 -1
- package/lib/players/HlsPlayer.cjs +88 -354
- package/lib/players/HlsPlayer.cjs.map +1 -1
- package/lib/players/HlsPlayer.d.cts +1 -1
- package/lib/players/index.cjs +88 -354
- package/lib/players/index.cjs.map +1 -1
- package/lib/sdk/hlsAdPlayer.cjs +0 -45
- package/lib/sdk/hlsAdPlayer.cjs.map +1 -1
- package/lib/sdk/hlsAdPlayer.d.cts +1 -1
- package/lib/sdk/ima.cjs +2 -84
- package/lib/sdk/ima.cjs.map +1 -1
- package/lib/sdk/ima.d.cts +1 -1
- package/lib/{types-CryTJVCC.d.cts → types-Bpq0mkLY.d.cts} +0 -2
- package/lib/ui/StormcloudVideoPlayer.cjs +88 -354
- package/lib/ui/StormcloudVideoPlayer.cjs.map +1 -1
- package/lib/ui/StormcloudVideoPlayer.d.cts +1 -1
- package/lib/utils/browserCompat.cjs.map +1 -1
- package/lib/utils/polyfills.cjs.map +1 -1
- package/lib/utils/tracking.cjs.map +1 -1
- package/lib/utils/tracking.d.cts +1 -1
- package/package.json +1 -1
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>;
|