boss-web-player-sdk 1.1.87 → 2.0.0
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/LICENSE +21 -21
- package/README.md +366 -373
- package/dist/chunks/{src-7JtBHj2Y.cjs → src-B9W4IMGS.cjs} +1 -1
- package/dist/chunks/{src-B93dUFrH.js → src-QXXVFxiP.js} +2 -2
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +0 -24
- package/dist/core.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -28
- package/dist/index.js +60 -60
- package/package.json +68 -73
package/dist/index.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ declare interface AnalyticsSessionSnapshot {
|
|
|
53
53
|
milestonesHit: string[];
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
export declare function BossVideoPlayer({ playerKey, src, subtitles, licenseKey, themeColor,
|
|
56
|
+
export declare function BossVideoPlayer({ playerKey, src, subtitles, licenseKey, themeColor, proxyDomains, apiBaseUrl, adTrackingUrl, overlayAdUrl, videoId: videoIdProp, title, artworkUrl, watermark, autoplay, muted, autoFullscreen, enableControls, enableSkipAd, skipAdAfterSeconds, chaptersDisplayMode, keyMoments: propKeyMoments, chapters: propChapters, keyMomentsTray, keyMomentsPosition, defaultKeyMomentsOpen, enableKeyMoments, onKeyMomentsToggle, volumeControlType, subtitleStyle, drmConfig, onAnalyticsEvent, delegate, onKeyMomentsLoaded, initialTime, onTimeUpdate, skipMarkers, introStartTime, introEndTime, hasNextEpisode, outroStartTime, nextEpisodeLabel, onNextEpisode, nextEpisodeAutoAdvanceSeconds, nextEpisodeThumbnailUrl, featureOverrides, enableQuality, enableSources, }: BossVideoPlayerProps): JSX.Element;
|
|
57
57
|
|
|
58
58
|
export declare interface BossVideoPlayerProps {
|
|
59
59
|
playerKey: string;
|
|
@@ -62,7 +62,6 @@ export declare interface BossVideoPlayerProps {
|
|
|
62
62
|
subtitles?: SubtitleTrack[];
|
|
63
63
|
licenseKey?: string;
|
|
64
64
|
themeColor?: string;
|
|
65
|
-
firebaseConfig?: FirebaseConfig;
|
|
66
65
|
proxyDomains?: string;
|
|
67
66
|
apiBaseUrl?: string;
|
|
68
67
|
adTrackingUrl?: string;
|
|
@@ -174,30 +173,6 @@ export declare type FeatureFlags = {
|
|
|
174
173
|
ad_support: boolean;
|
|
175
174
|
};
|
|
176
175
|
|
|
177
|
-
export declare class FirebaseAnalyticsProvider {
|
|
178
|
-
private analytics;
|
|
179
|
-
private logEventFn;
|
|
180
|
-
private pendingEvents;
|
|
181
|
-
constructor(config: FirebaseConfig);
|
|
182
|
-
private init;
|
|
183
|
-
private flushPending;
|
|
184
|
-
createCallback(): AnalyticsCallback;
|
|
185
|
-
private handleEvent;
|
|
186
|
-
private logToFirebase;
|
|
187
|
-
private buildParams;
|
|
188
|
-
destroy(): Promise<void>;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
export declare interface FirebaseConfig {
|
|
192
|
-
apiKey: string;
|
|
193
|
-
authDomain: string;
|
|
194
|
-
projectId: string;
|
|
195
|
-
storageBucket: string;
|
|
196
|
-
messagingSenderId: string;
|
|
197
|
-
appId: string;
|
|
198
|
-
measurementId?: string;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
176
|
declare interface IAnalyticsModule {
|
|
202
177
|
getSessionSnapshot(): AnalyticsSessionSnapshot;
|
|
203
178
|
registerCallback(callback: AnalyticsCallback): void;
|
|
@@ -398,7 +373,6 @@ declare interface RemoteCastState {
|
|
|
398
373
|
export declare type SdkInitData = {
|
|
399
374
|
tenantId: string;
|
|
400
375
|
features: SdkInitFeatures;
|
|
401
|
-
planTier: string;
|
|
402
376
|
heartbeatIntervalSeconds?: number;
|
|
403
377
|
};
|
|
404
378
|
|
|
@@ -657,7 +631,6 @@ declare interface WebVideoPlayerProps {
|
|
|
657
631
|
watermark?: string;
|
|
658
632
|
themeColor?: string;
|
|
659
633
|
drmConfig?: any;
|
|
660
|
-
firebaseConfig?: FirebaseConfig;
|
|
661
634
|
onAnalyticsEvent?: (event: AnalyticsEvent) => void;
|
|
662
635
|
onAdBreakChange?: (active: boolean) => void;
|
|
663
636
|
onKeyMomentsLoaded?: (keyMoments: KeyMoment[]) => void;
|