logo
THEOplayer
ABR
Ads
Caching
Content protection
Analytics
Casting
Media and Text Tracks
Miscellaneous
Source
Verizon Media
Events
HESP
SSAI
Network
Presentation
PiPConfigurationPiPPositionPresentationPresentationEventMapPresentationModePresentationModeChangeEvent
Player
UI
VR

THEOplayer > Presentation

Presentation interface

Inherits from EventDispatcher<PresentationEventMap> . See parent page for inherited properties and methods.

The presentation API.

Signature:

export interface Presentation extends EventDispatcher<PresentationEventMap> 

Properties

Property

Type

Description

currentMode

PresentationMode

The active presentation mode of the player.

Methods

Method

Description

requestMode​(mode: PresentationMode): void

Change the presentation mode of the player.

supportsMode​(mode: PresentationMode): boolean

Whether the player supports the provided presentation mode.

Property Details

currentMode

The active presentation mode of the player.

Signature:

readonly currentMode: PresentationMode;

Method Details

requestMode

Change the presentation mode of the player.

Signature:

requestMode(mode: PresentationMode): void;

Parameters

Parameter

Type

Description

mode

PresentationMode

The requested presentation mode.

supportsMode

Whether the player supports the provided presentation mode.

Signature:

supportsMode(mode: PresentationMode): boolean;

Parameters

Parameter

Type

Description

mode

PresentationMode

The presentation mode to verify.

Returns

Whether the player supports mode.

github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2022. All Rights Reserved.
Leuven
New York
Singapore
Barcelona