THEOplayer > PiPConfiguration
Describes the configuration of the picture-in-picture feature.
Signature:
export interface PiPConfiguration
Property |
Type |
Description |
---|---|---|
position (optional) |
The corner in which the player should be shown while in picture-in-picture. |
|
retainPresentationModeOnSourceChange (optional) |
|
Whether the presentation mode should be retained on source changes. |
visibility (optional) |
|
The maximum percentage of the original player position that should be visible to enable picture-in-picture automatically. |
The corner in which the player should be shown while in picture-in-picture.
Signature:
position?: PiPPosition;
Whether the presentation mode should be retained on source changes.
Signature:
retainPresentationModeOnSourceChange?: boolean;
The maximum percentage of the original player position that should be visible to enable picture-in-picture automatically.
Signature:
visibility?: number | undefined;
- If not configured, picture-in-picture can only be activated by calling Presentation.requestMode() with the 'picture-in-picture'
argument.