stormcloud-video-player 0.3.60 → 0.3.61
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 +242 -211
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +25 -16
- package/lib/index.d.ts +25 -16
- package/lib/index.js +242 -211
- package/lib/index.js.map +1 -1
- package/lib/player/StormcloudVideoPlayer.cjs +242 -211
- package/lib/player/StormcloudVideoPlayer.cjs.map +1 -1
- package/lib/player/StormcloudVideoPlayer.d.cts +1 -1
- package/lib/players/HlsPlayer.cjs +242 -211
- package/lib/players/HlsPlayer.cjs.map +1 -1
- package/lib/players/HlsPlayer.d.cts +1 -1
- package/lib/players/index.cjs +242 -211
- package/lib/players/index.cjs.map +1 -1
- package/lib/sdk/hlsAdPlayer.d.cts +1 -1
- package/lib/sdk/ima.d.cts +1 -1
- package/lib/{types-Vj55FghO.d.cts → types-XKUJJhlG.d.cts} +13 -4
- package/lib/ui/StormcloudVideoPlayer.cjs +242 -211
- package/lib/ui/StormcloudVideoPlayer.cjs.map +1 -1
- package/lib/ui/StormcloudVideoPlayer.d.cts +1 -1
- package/lib/utils/tracking.cjs +210 -217
- package/lib/utils/tracking.cjs.map +1 -1
- package/lib/utils/tracking.d.cts +11 -13
- package/package.json +1 -1
package/lib/sdk/ima.d.cts
CHANGED
|
@@ -76,19 +76,28 @@ interface ClientInfo {
|
|
|
76
76
|
referrer: string;
|
|
77
77
|
visibilityState: string;
|
|
78
78
|
}
|
|
79
|
+
interface PlayerAnalyticsContext {
|
|
80
|
+
inputStreamType?: string;
|
|
81
|
+
}
|
|
79
82
|
interface AdDetectInfo {
|
|
80
|
-
source:
|
|
83
|
+
source: "scte35";
|
|
81
84
|
durationSeconds?: number;
|
|
82
85
|
ptsSeconds?: number;
|
|
83
86
|
detectedAtFragmentSn?: number;
|
|
84
87
|
timestamp: string;
|
|
85
88
|
}
|
|
86
|
-
type AdTrackingSource = "prebid" | "ima" | "hls";
|
|
87
89
|
interface AdLoadedInfo {
|
|
88
|
-
source:
|
|
90
|
+
source: "vast" | "ima" | "hls";
|
|
89
91
|
vastUrl?: string;
|
|
90
92
|
durationSeconds?: number;
|
|
91
93
|
timestamp: string;
|
|
92
94
|
}
|
|
95
|
+
interface AdImpressionInfo {
|
|
96
|
+
source: "vast" | "ima" | "hls";
|
|
97
|
+
adIndex: number;
|
|
98
|
+
adUrl?: string;
|
|
99
|
+
durationSeconds?: number;
|
|
100
|
+
timestamp: string;
|
|
101
|
+
}
|
|
93
102
|
|
|
94
|
-
export type {
|
|
103
|
+
export type { AdDetectInfo as A, ClientInfo as C, ImaController as I, PlayerAnalyticsContext as P, StormcloudVideoPlayerConfig as S, AdImpressionInfo as a, AdLoadedInfo as b };
|