Interface Presentation

The presentation API.

interface Presentation {
    currentMode: PresentationMode;
    addEventListener<TType>(type: TType | readonly TType[], listener: EventListener<PresentationEventMap[TType]>): void;
    removeEventListener<TType>(type: TType | readonly TType[], listener: EventListener<PresentationEventMap[TType]>): void;
    requestMode(mode: PresentationMode): void;
    supportsMode(mode: PresentationMode): boolean;
}

Hierarchy (view full)

Properties

currentMode: PresentationMode

The active presentation mode of the player.

'inline'

Methods

  • Change the presentation mode of the player.

    Parameters

    Returns void

  • Whether the player supports the provided presentation mode.

    Parameters

    Returns boolean

    Whether the player supports mode.