Interface PiPConfiguration

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

interface PiPConfiguration {
    retainPipOnSourceChange?: boolean;
    startsAutomatically?: boolean;
}

Properties

retainPipOnSourceChange?: boolean

Whether Picture in Picture should remain active when setting a new (non-undefined) source.

Default Value

false @remark: Only configurable for iOS.

startsAutomatically?: boolean

Whether Picture in Picture should be allowed to start automatically from inline, when transitioning to background.

Default Value

false