Version: 2.67.0

PiPConfiguration

THEOplayer > PiPConfiguration

PiPConfiguration interface

Describes the configuration of the picture-in-picture feature.

Signature:
export interface PiPConfiguration

Properties

Property

Type

Description

position (optional)

PiPPosition

The corner in which the player should be shown while in picture-in-picture.

retainPresentationModeOnSourceChange (optional)

boolean

Whether the presentation mode should be retained on source changes.

visibility (optional)

number | undefined

The maximum percentage of the original player position that should be visible to enable picture-in-picture automatically.