THEOplayer > Presentation
Inherits from EventDispatcher<PresentationEventMap> . See parent page for inherited properties and methods.
The presentation API.
Signature:
export interface Presentation extends EventDispatcher<PresentationEventMap>
Property |
Type |
Description |
---|---|---|
The active presentation mode of the player. |
Method |
Description |
---|---|
requestMode(mode: PresentationMode): |
Change the presentation mode of the player. |
supportsMode(mode: PresentationMode): |
Whether the player supports the provided presentation mode. |
The active presentation mode of the player.
Signature:
readonly currentMode: PresentationMode;
Change the presentation mode of the player.
Signature:
requestMode(mode: PresentationMode): void;
Parameter |
Type |
Description |
---|---|---|
mode |
The requested presentation mode. |
Whether the player supports the provided presentation mode.
Signature:
supportsMode(mode: PresentationMode): boolean;
Parameter |
Type |
Description |
---|---|---|
mode |
The presentation mode to verify. |
Whether the player supports mode
.