THEOplayer > Cast
Inherits from EventDispatcher<CastEventMap> . See parent page for inherited properties and methods.
The cast API.
Signature:
export interface Cast extends EventDispatcher<CastEventMap>
Property |
Type |
Description |
---|---|---|
airplay (optional) |
The Airplay integration API. |
|
|
Whether the player is connected with a casting device. |
|
chromecast (optional) |
The Chromecast integration API. |
The Airplay integration API.
Signature:
airplay?: AirPlay;
- Only available with the feature 'airplay'
.
Whether the player is connected with a casting device.
Signature:
casting: boolean;
The Chromecast integration API.
Signature:
chromecast?: Chromecast;
- Only available with the feature 'chromecast'
.