THEOplayer > VendorCast
Inherits from EventDispatcher<VendorCastEventMap> . See parent page for inherited properties and methods.
Common API for all cast integrations.
Signature:
export interface VendorCast extends EventDispatcher<VendorCastEventMap>
Property |
Type |
Description |
---|---|---|
|
Whether the player is casting. |
|
The state of the casting process. |
Method |
Description |
---|---|
start(): |
Start a casting session with the player's source. |
stop(): |
Stop the active casting session. |
Whether the player is casting.
Signature:
casting: boolean;
The state of the casting process.
Signature:
state: CastState;
Start a casting session with the player's source.
Signature:
start(): void;
- A native browser pop-up will prompt to choose a casting target device.
Stop the active casting session.
Signature:
stop(): void;