boss-web-player-sdk 1.1.39 → 1.1.41

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/core.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./src-DKLGLFLQ.cjs");var t=class{player;install(e){this.player=e,this.onInstall()}destroy(){this.onDestroy()}onDestroy(){}};exports.AnalyticsModule=e.l,exports.BasePlayerPlugin=t,exports.CastingModule=e.r,exports.ChaptersModule=e.o,exports.DRMModule=e.i,exports.FirebaseAnalyticsProvider=e.c,exports.KeyMomentsModule=e.s,exports.SubtitlesModule=e.a,exports.ThumbnailsModule=e.n,exports.VideoPlayerSDK=e.t;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/src-CifLE2C5.cjs");exports.AnalyticsModule=e.AnalyticsModule,exports.BasePlayerPlugin=class{player;install(e){this.player=e,this.onInstall()}destroy(){this.onDestroy()}onDestroy(){}},exports.CastingModule=e.CastingModule,exports.ChaptersModule=e.ChaptersModule,exports.DRMModule=e.DRMModule,exports.FirebaseAnalyticsProvider=e.FirebaseAnalyticsProvider,exports.KeyMomentsModule=e.KeyMomentsModule,exports.SubtitlesModule=e.SubtitlesModule,exports.ThumbnailsModule=e.ThumbnailsModule,exports.VideoPlayerSDK=e.VideoPlayerSDK;
package/dist/core.d.ts CHANGED
@@ -36,7 +36,7 @@ export declare interface AnalyticsEvent {
36
36
  isAutoSwitch?: boolean;
37
37
  }
38
38
 
39
- export declare class AnalyticsModule {
39
+ export declare class AnalyticsModule implements IAnalyticsModule {
40
40
  private callback?;
41
41
  private heartbeatInterval?;
42
42
  private watchProgressTimer?;
@@ -88,14 +88,12 @@ export declare class AnalyticsModule {
88
88
 
89
89
  declare interface AnalyticsSessionSnapshot {
90
90
  sessionId: string;
91
- /** True once session_start has fired — a seeded module must not fire it again. */
92
91
  sessionStartFired: boolean;
93
92
  totalWatchTime: number;
94
93
  streamingTime: number;
95
94
  adWatchTime: number;
96
95
  bufferingCount: number;
97
96
  totalBufferingTime: number;
98
- /** Quartile milestones already dispatched ('first_quartile' | 'midpoint' | 'third_quartile'). */
99
97
  milestonesHit: string[];
100
98
  }
101
99
 
@@ -109,7 +107,7 @@ export declare abstract class BasePlayerPlugin implements PlayerPlugin {
109
107
  protected onDestroy(): void;
110
108
  }
111
109
 
112
- export declare class CastingModule {
110
+ export declare class CastingModule implements ICastingModule {
113
111
  private isCasting;
114
112
  private castDeviceName;
115
113
  private onCastStateChangeCallback?;
@@ -117,71 +115,28 @@ export declare class CastingModule {
117
115
  private castContext;
118
116
  private remotePlayer;
119
117
  private remotePlayerController;
120
- /** Listeners this module attached, so destroy() can detach exactly those. */
121
118
  private attachedListeners;
122
119
  private destroyed;
123
- /** The global API-ready hook installed by this module, if any. */
124
120
  private apiReadyHook?;
125
- /** Last connection state handed to the consumer, so a replay can't double-fire. */
126
121
  private announcedCasting?;
127
- /** Stream URL this module last pushed to the receiver; null when nothing of ours is loaded. */
128
122
  private loadedSrc;
129
- /** Stream URL of an in-flight loadMedia, so concurrent callers don't load twice. */
130
123
  private pendingSrc;
131
124
  constructor();
132
125
  private initCastApi;
133
126
  private addListener;
134
- /**
135
- * Notifies the consumer of the current connection state, but only when it actually
136
- * changed since the last notification. The state can be seeded before a callback is
137
- * registered (session adopted at construction), so registration replays it — this
138
- * guard keeps that replay from double-firing against a real IS_CONNECTED_CHANGED.
139
- */
140
127
  private announceCastState;
141
128
  getCastingState(): {
142
129
  isCasting: boolean;
143
130
  deviceName: string;
144
131
  };
145
132
  getRemoteState(): RemoteCastState | null;
146
- /**
147
- * Derives the Cast MediaInfo content type from the stream URL so HLS/DASH manifests
148
- * aren't sent to the receiver mislabeled as video/mp4, which causes load failures.
149
- */
150
133
  private getContentType;
151
- /** Whether a cast session is currently connected (including one joined from a previous page). */
152
134
  isSessionActive(): boolean;
153
- /** Content URL the receiver currently has loaded, whoever put it there. Null if nothing is loaded. */
154
135
  getReceiverContentId(): string | null;
155
- /**
156
- * Loads media onto the session that is already connected. Returns true once the receiver
157
- * has accepted the load.
158
- *
159
- * Separate from requestSession() because a session outlives the player that started it:
160
- * after navigating to another title the new player must replace what is on the receiver
161
- * without prompting the device picker again.
162
- */
163
136
  loadMedia(src: string, currentTime: number, title?: string): Promise<boolean>;
164
- /**
165
- * Ensures the receiver is playing `src` rather than whatever a previous player left on it.
166
- * No-ops when the receiver already holds this stream, so re-entering a page that is
167
- * already casting doesn't restart playback on the TV.
168
- */
169
137
  syncMedia(src: string, currentTime: number, title?: string): Promise<boolean>;
170
- /**
171
- * Prompts the native Google Cast device picker overlay, then loads media on the remote device.
172
- * The caller is responsible for pausing local playback before/after this resolves.
173
- */
174
138
  requestSession(currentSrc: string, currentTime: number, title?: string): Promise<void>;
175
- /**
176
- * Disconnects the current cast session.
177
- */
178
139
  stopCasting(): void;
179
- /**
180
- * Detaches this module from the Cast framework. The CastContext is a page-wide singleton
181
- * and the session deliberately survives, but the RemotePlayer listeners must go: otherwise
182
- * every player that has ever mounted keeps pushing remote state into its own (unmounted)
183
- * consumer, and a torn-down player can still react to the live session.
184
- */
185
140
  destroy(): void;
186
141
  remotePlayPause(): void;
187
142
  remoteSeek(time: number): void;
@@ -202,7 +157,7 @@ export declare interface Chapter {
202
157
  description?: string;
203
158
  }
204
159
 
205
- export declare class ChaptersModule extends KeyMomentsModule {
160
+ export declare class ChaptersModule extends KeyMomentsModule implements IChaptersModule {
206
161
  }
207
162
 
208
163
  export declare interface DRMConfig {
@@ -215,25 +170,16 @@ export declare interface DRMConfig {
215
170
  watermarkText?: string;
216
171
  }
217
172
 
218
- export declare class DRMModule {
173
+ export declare class DRMModule implements IDRMModule {
219
174
  private config?;
220
175
  private watermarkElement?;
221
176
  private floatInterval?;
222
177
  constructor(config?: DRMConfig);
223
- /**
224
- * Validates if the active origin domain is permitted to load this stream asset.
225
- */
226
178
  validateDomain(currentDomain: string): boolean;
227
179
  getAuthToken(): string | undefined;
228
180
  getAuthHeader(): string | undefined;
229
181
  getRequestHeaders(): Record<string, string>;
230
- /**
231
- * Injects an animated floating watermark on top of the media container to obstruct piracy or recording.
232
- */
233
182
  setupWatermark(container: HTMLElement): void;
234
- /**
235
- * Cleans up active watermarks.
236
- */
237
183
  removeWatermark(): void;
238
184
  isDRMProtected(): boolean;
239
185
  getDRMDetails(): {
@@ -245,16 +191,6 @@ export declare class DRMModule {
245
191
  };
246
192
  }
247
193
 
248
- /**
249
- * Sends all player analytics events to Firebase Analytics (GA4).
250
- *
251
- * Events appear in:
252
- * Firebase Console → Analytics → Events (24-48 hr aggregated view)
253
- * Firebase Console → Analytics → DebugView (real-time while testing)
254
- * Google Analytics 4 → Reports → Realtime (within a few minutes)
255
- *
256
- * No Firestore / database setup required — Firebase Analytics handles all storage.
257
- */
258
194
  export declare class FirebaseAnalyticsProvider {
259
195
  private analytics;
260
196
  private logEventFn;
@@ -279,32 +215,119 @@ export declare interface FirebaseConfig {
279
215
  measurementId?: string;
280
216
  }
281
217
 
218
+ declare interface IAnalyticsModule {
219
+ getSessionSnapshot(): AnalyticsSessionSnapshot;
220
+ registerCallback(callback: AnalyticsCallback): void;
221
+ setAdBreaks(adBreaks: Array<{
222
+ startTime: number;
223
+ endTime: number;
224
+ }>): void;
225
+ track(eventType: AnalyticsEvent['eventType'], videoEl: HTMLVideoElement, extra?: Partial<AnalyticsEvent>): void;
226
+ startHeartbeat(videoEl: HTMLVideoElement, getExtra: () => Partial<AnalyticsEvent>, watchProgressInterval?: number): void;
227
+ stopHeartbeat(): void;
228
+ setBuffering(isBuffering: boolean, videoEl: HTMLVideoElement, getExtra: () => Partial<AnalyticsEvent>): void;
229
+ setAdBreak(inAdBreak: boolean, videoEl: HTMLVideoElement): void;
230
+ }
231
+
232
+ declare interface ICastingModule {
233
+ getCastingState(): {
234
+ isCasting: boolean;
235
+ deviceName: string;
236
+ };
237
+ getRemoteState(): RemoteCastState | null;
238
+ isSessionActive(): boolean;
239
+ getReceiverContentId(): string | null;
240
+ loadMedia(src: string, currentTime: number, title?: string): Promise<boolean>;
241
+ syncMedia(src: string, currentTime: number, title?: string): Promise<boolean>;
242
+ requestSession(currentSrc: string, currentTime: number, title?: string): Promise<void>;
243
+ stopCasting(): void;
244
+ destroy(): void;
245
+ remotePlayPause(): void;
246
+ remoteSeek(time: number): void;
247
+ remoteSetVolume(volume: number): void;
248
+ remoteSetMute(muted: boolean): void;
249
+ onCastStateChange(callback: (isCasting: boolean, deviceName: string) => void): void;
250
+ onRemoteStateChange(callback: (state: RemoteCastState) => void): void;
251
+ requestAirPlaySession(videoElement: HTMLVideoElement): void;
252
+ stopAirPlay(videoElement: HTMLVideoElement): void;
253
+ isAirPlayAvailable(): boolean;
254
+ }
255
+
256
+ declare interface IChaptersModule extends IKeyMomentsModule {
257
+ }
258
+
259
+ declare interface IDRMModule {
260
+ validateDomain(currentDomain: string): boolean;
261
+ getAuthToken(): string | undefined;
262
+ getAuthHeader(): string | undefined;
263
+ getRequestHeaders(): Record<string, string>;
264
+ setupWatermark(container: HTMLElement): void;
265
+ removeWatermark(): void;
266
+ isDRMProtected(): boolean;
267
+ getDRMDetails(): {
268
+ widevine: string | null;
269
+ playready: string | null;
270
+ fairplay: string | null;
271
+ authTokenPresent: boolean;
272
+ allowedDomains: string[];
273
+ };
274
+ }
275
+
276
+ declare interface IKeyMomentsModule {
277
+ setKeyMoments(keyMoments: KeyMoment[]): void;
278
+ getKeyMoments(): KeyMoment[];
279
+ getCurrentMoment(currentTime: number): {
280
+ keyMoment: KeyMoment | null;
281
+ index: number;
282
+ };
283
+ updateTime(currentTime: number): void;
284
+ onMomentChange(callback: (keyMoment: KeyMoment | null, index: number) => void): void;
285
+ setChapters(chapters: KeyMoment[]): void;
286
+ getChapters(): KeyMoment[];
287
+ getCurrentChapter(currentTime: number): {
288
+ chapter: KeyMoment | null;
289
+ index: number;
290
+ };
291
+ onChapterChange(callback: (chapter: KeyMoment | null, index: number) => void): void;
292
+ }
293
+
294
+ declare interface ISubtitlesModule {
295
+ getTracks(): SubtitleTrack[];
296
+ getActiveTrackId(): string;
297
+ setHlsTracks(hlsTracks: SubtitleTrack[]): void;
298
+ addTrack(track: SubtitleTrack): void;
299
+ onTrackSwitch(callback: (track: SubtitleTrack | null) => void): void;
300
+ setCustomSubtitleText(text: string): void;
301
+ setActiveTrack(trackId: string): Promise<void>;
302
+ updateTime(currentTime: number): void;
303
+ onSubtitleChange(callback: (text: string) => void): void;
304
+ }
305
+
306
+ declare interface IThumbnailsModule {
307
+ getThumbnail(time: number): {
308
+ url: string;
309
+ x: number;
310
+ y: number;
311
+ width: number;
312
+ height: number;
313
+ } | null;
314
+ hasThumbnails(): boolean;
315
+ }
316
+
282
317
  export declare type KeyMoment = Chapter;
283
318
 
284
- export declare class KeyMomentsModule {
319
+ export declare class KeyMomentsModule implements IKeyMomentsModule {
285
320
  private keyMoments;
286
321
  private currentMomentIndex;
287
322
  private onMomentChangeCallback?;
288
323
  constructor(keyMoments?: KeyMoment[]);
289
- /**
290
- * Sorts and stores the key moments.
291
- */
292
324
  setKeyMoments(keyMoments: KeyMoment[]): void;
293
325
  getKeyMoments(): KeyMoment[];
294
- /**
295
- * Locates the key moment corresponding to the active playback timestamp.
296
- */
297
326
  getCurrentMoment(currentTime: number): {
298
327
  keyMoment: KeyMoment | null;
299
328
  index: number;
300
329
  };
301
- /**
302
- * Evaluates if playback has crossed a key moment boundary.
303
- */
304
330
  updateTime(currentTime: number): void;
305
- /**
306
- * Subscribes a callback to change events.
307
- */
308
331
  onMomentChange(callback: (keyMoment: KeyMoment | null, index: number) => void): void;
309
332
  setChapters(chapters: KeyMoment[]): void;
310
333
  getChapters(): KeyMoment[];
@@ -339,11 +362,6 @@ export declare interface PlayerSDKOptions {
339
362
  watchProgressInterval?: number;
340
363
  themeColor?: string;
341
364
  watermark?: string;
342
- /**
343
- * Optional URL transformer applied to every HLS segment/manifest request.
344
- * Use this to route requests through a CORS proxy without hardcoding domains.
345
- * Example: (url) => url.replace('https://cdn.example.com', '/my-proxy')
346
- */
347
365
  urlTransformer?: (url: string) => string;
348
366
  }
349
367
 
@@ -355,7 +373,7 @@ declare interface RemoteCastState {
355
373
  isMuted: boolean;
356
374
  }
357
375
 
358
- export declare class SubtitlesModule {
376
+ export declare class SubtitlesModule implements ISubtitlesModule {
359
377
  private tracks;
360
378
  private activeTrackId;
361
379
  private currentCues;
@@ -369,22 +387,10 @@ export declare class SubtitlesModule {
369
387
  addTrack(track: SubtitleTrack): void;
370
388
  onTrackSwitch(callback: (track: SubtitleTrack | null) => void): void;
371
389
  setCustomSubtitleText(text: string): void;
372
- /**
373
- * Switches the active track. Fetches external tracks if they need loading.
374
- */
375
390
  setActiveTrack(trackId: string): Promise<void>;
376
- /**
377
- * Scans the subtitle cues for the current playback position.
378
- */
379
391
  updateTime(currentTime: number): void;
380
- /**
381
- * Triggers the text update callback if a change in caption is detected.
382
- */
383
392
  private updateActiveText;
384
393
  onSubtitleChange(callback: (text: string) => void): void;
385
- /**
386
- * Robust parser supporting WebVTT and SRT formats.
387
- */
388
394
  private parseVttOrSrt;
389
395
  }
390
396
 
@@ -415,12 +421,9 @@ export declare interface ThumbnailConfig {
415
421
  totalCount: number;
416
422
  }
417
423
 
418
- export declare class ThumbnailsModule {
424
+ export declare class ThumbnailsModule implements IThumbnailsModule {
419
425
  private config?;
420
426
  constructor(config?: ThumbnailConfig);
421
- /**
422
- * Calculates the position offset inside the sprite sheet for a given seek hover time.
423
- */
424
427
  getThumbnail(time: number): {
425
428
  url: string;
426
429
  x: number;
@@ -438,13 +441,13 @@ export declare class VideoPlayerSDK {
438
441
  private dashInstance;
439
442
  private activeQuality;
440
443
  private qualityLevels;
441
- analytics: AnalyticsModule;
442
- keyMoments: KeyMomentsModule;
443
- chapters: ChaptersModule;
444
- subtitles: SubtitlesModule;
445
- drm: DRMModule;
446
- casting: CastingModule;
447
- thumbnails: ThumbnailsModule;
444
+ analytics: IAnalyticsModule;
445
+ keyMoments: IKeyMomentsModule;
446
+ chapters: IChaptersModule;
447
+ subtitles: ISubtitlesModule;
448
+ drm: IDRMModule;
449
+ casting: ICastingModule;
450
+ thumbnails: IThumbnailsModule;
448
451
  private hlsSubtitleCues;
449
452
  private hlsActiveSubtitleKey;
450
453
  private audioTrackList;
@@ -468,47 +471,20 @@ export declare class VideoPlayerSDK {
468
471
  private pendingSeekAttribution;
469
472
  private eventListeners;
470
473
  constructor(options: PlayerSDKOptions);
471
- /**
472
- * Builds the video DOM hierarchy, binds events, validates domain restrictions, and mounts DRM watermarks.
473
- */
474
474
  private initializePlayer;
475
- /**
476
- * Binds direct event listeners to the native HTML5 Video tag, routing them to our sub-packages.
477
- */
478
475
  private bindMediaEvents;
479
476
  private rewriteToProxy;
480
- /**
481
- * Initializes HLS adaptive streaming through Hls.js or falls back to native browser playback.
482
- */
483
477
  private loadSource;
484
- /**
485
- * Sets up global lock-screen metadata and media control keys (Media Session API).
486
- */
487
478
  private setupBackgroundControls;
488
479
  play(): void;
489
480
  pause(): void;
490
481
  seek(seconds: number): void;
491
- /**
492
- * Attributes the NEXT seek to a specific user gesture so telemetry reports it as
493
- * `fast_forward` / `fast_backward` / `key_moments` instead of a generic `seek`.
494
- * Call immediately before triggering the seek. The attribution expires after a
495
- * short window so it can never leak onto an unrelated later seek.
496
- */
497
482
  attributeNextSeek(eventType: 'fast_forward' | 'fast_backward' | 'key_moments', extras?: Partial<AnalyticsEvent>): void;
498
483
  setVolume(volume: number): void;
499
484
  setMute(muted: boolean): void;
500
485
  setPlaybackRate(rate: number): void;
501
- /**
502
- * Sets manual video quality rendition or switches back to auto bitrate scaling.
503
- */
504
486
  setQuality(qualityId: number): void;
505
- /**
506
- * Activates native Picture-in-Picture floating viewport.
507
- */
508
487
  togglePictureInPicture(): Promise<boolean>;
509
- /**
510
- * Requests element-level fullscreen.
511
- */
512
488
  toggleFullscreen(): void;
513
489
  getVideoElement(): HTMLVideoElement;
514
490
  getCurrentTime(): number;
@@ -523,17 +499,6 @@ export declare class VideoPlayerSDK {
523
499
  start: number;
524
500
  end: number;
525
501
  }>;
526
- /**
527
- * Returns true if the browser can decode at least one of the manifest's renditions.
528
- *
529
- * Deliberately conservative to avoid ever blocking a valid stream:
530
- * - A codec that isn't declared is treated as playable (we never assume unsupported).
531
- * - Any failure to verify (no MediaSource, isTypeSupported throws) returns true.
532
- * - The stream is "playable" if even one rendition's declared codecs are all supported,
533
- * matching how HLS.js itself selects a level.
534
- * Returns false only when the browser explicitly reports every declared codec as
535
- * undecodable (e.g. Dolby EC-3/AC-3 in Chrome).
536
- */
537
502
  private hasPlayableLevel;
538
503
  private getAnalyticsPayload;
539
504
  on(event: string, callback: (...args: any[]) => void): void;
@@ -542,12 +507,6 @@ export declare class VideoPlayerSDK {
542
507
  private extractSubtitlesFromManifest;
543
508
  private extractKeyMomentsFromManifest;
544
509
  private extractAdBreaksFromManifest;
545
- /**
546
- * Whether manifest ad-break discovery has finished for the current source. A listener
547
- * attached after the fact would never see the event, so a consumer that gates on it has
548
- * to be able to ask directly — the two fetches above can resolve before the UI's own
549
- * effects have run.
550
- */
551
510
  hasAdBreakDiscoverySettled(): boolean;
552
511
  private buildManifestUrl;
553
512
  private findFirstVariantUri;
@@ -564,21 +523,7 @@ export declare class VideoPlayerSDK {
564
523
  private parseAdBreaksFromPlaylist;
565
524
  private sameAdBreaks;
566
525
  private isTimeInAdBreak;
567
- /**
568
- * Syncs isAdBreak/playbackRate/ad-mode UI state against `time` and emits
569
- * adbreakchange on transitions. Called from timeupdate, but also called
570
- * eagerly as soon as ad breaks or metadata become known — timeupdate alone
571
- * doesn't fire until playback actually starts, which left a preroll ad's
572
- * first frame briefly showing content controls (rewind/forward, etc.)
573
- * while autoplay was blocked or the source was still buffering.
574
- */
575
526
  private refreshAdBreakState;
576
- /**
577
- * Converts raw (stitched) video time to content-only time by subtracting the
578
- * ad time elapsed before `time`. During an ad break the result is frozen at
579
- * the content timestamp where the break started. Identity when no ad breaks
580
- * are known. Mirrors the seekbar mapping in the UI layer.
581
- */
582
527
  private videoTimeToContentTime;
583
528
  getAdBreaks(): Array<{
584
529
  startTime: number;
@@ -588,14 +533,6 @@ export declare class VideoPlayerSDK {
588
533
  startTime: number;
589
534
  endTime: number;
590
535
  }>): void;
591
- /**
592
- * Marks breaks (by startTime) as already watched, so playback treats their range as
593
- * ordinary content. The UI owns this list — it is the only layer that knows what the
594
- * viewer has actually sat through — and re-pushes it after any re-init.
595
- *
596
- * The ad media itself is still stitched into the manifest, so the UI must still seek
597
- * over the range; what this removes is every *other* transition at the boundary.
598
- */
599
536
  setRetiredAdBreaks(starts: number[]): void;
600
537
  isInAdBreak(): boolean;
601
538
  getAudioTracks(): Array<{
@@ -604,20 +541,8 @@ export declare class VideoPlayerSDK {
604
541
  lang: string;
605
542
  }>;
606
543
  setAudioTrack(id: number): void;
607
- /**
608
- * Arms a one-shot timer while buffering. If the timer fires and no data has
609
- * arrived since it was armed (progressTick unchanged) and we're still
610
- * buffering, the stream is considered dead. If data did arrive but we're still
611
- * buffering (slow connection), it re-arms for another window rather than
612
- * failing — so slow internet never trips it.
613
- */
614
544
  private armStallWatchdog;
615
545
  private clearStallWatchdog;
616
- /**
617
- * Terminal error path: emit 'error' (which drives the error screen) and tear
618
- * down the player. Guarded so it runs at most once, no matter how many error
619
- * events fire during teardown.
620
- */
621
546
  private fail;
622
547
  destroy(): void;
623
548
  }
package/dist/core.js CHANGED
@@ -1,14 +1 @@
1
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./src-C453Jlyd.js";
2
- //#region ../plugins/src/plugins.ts
3
- var l = class {
4
- player;
5
- install(e) {
6
- this.player = e, this.onInstall();
7
- }
8
- destroy() {
9
- this.onDestroy();
10
- }
11
- onDestroy() {}
12
- };
13
- //#endregion
14
- export { r as AnalyticsModule, l as BasePlayerPlugin, o as CastingModule, a as ChaptersModule, n as DRMModule, t as FirebaseAnalyticsProvider, s as KeyMomentsModule, e as SubtitlesModule, i as ThumbnailsModule, c as VideoPlayerSDK };
1
+ import{a as s,c as a,i as r,l as t,n as o,o as l,r as n,s as e,t as i}from"./chunks/src-ChMUr4mo.js";var y=class{player;install(s){this.player=s,this.onInstall()}destroy(){this.onDestroy()}onDestroy(){}};export{t as AnalyticsModule,y as BasePlayerPlugin,n as CastingModule,l as ChaptersModule,r as DRMModule,a as FirebaseAnalyticsProvider,e as KeyMomentsModule,s as SubtitlesModule,o as ThumbnailsModule,i as VideoPlayerSDK};