@byomakase/omakase-player 1.2.2-SNAPSHOT.1793364607 → 1.2.2-SNAPSHOT.1793364840

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.
@@ -3125,7 +3125,19 @@ declare abstract class ChromingDomController<T extends ChromingTheme> implements
3125
3125
  private _wireSimpleFullscreen;
3126
3126
  enablePiP(): Observable<void>;
3127
3127
  disablePiP(): Observable<void>;
3128
+ /**
3129
+ * Whether picture in picture can be entered for the loaded media, see {@link getPiPDisabledReason}.
3130
+ */
3128
3131
  isPiPSupported(): boolean;
3132
+ /**
3133
+ * Returns why picture in picture can't be entered, or `undefined` if it can.
3134
+ */
3135
+ protected getPiPDisabledReason(): string | undefined;
3136
+ /**
3137
+ * Disables the picture in picture button and leaves picture in picture if it can't be entered for the loaded media.
3138
+ * In detached window the same button attaches the player back, so it stays enabled.
3139
+ */
3140
+ protected updatePiPAvailability(): void;
3129
3141
  protected togglePiP(): Observable<void>;
3130
3142
  protected addPiPListeners(): void;
3131
3143
  getPlayerChromingElement<T>(querySelector: string): T;
@@ -5399,6 +5411,8 @@ export declare function getPlayerAudioApi(player: PlayerApi | PlayerDetachedApi)
5399
5411
 
5400
5412
  export declare function getPlayerTextApi(player: PlayerApi | PlayerDetachedApi): PlayerTextCommonApi;
5401
5413
 
5414
+ export declare function getPlayerVideoApi(player: PlayerApi | PlayerDetachedApi): PlayerVideoCommonApi;
5415
+
5402
5416
  declare function getSlotTemplateHTML(_attrs: Record<string, string>): string;
5403
5417
 
5404
5418
  declare function getTooltipContentHTML(): string;