Version: 2.69.0

Chromecast

THEOplayer > Chromecast

Chromecast interface

The Chromecast API.

Signature:
export interface Chromecast extends VendorCast, EventDispatcher<ChromecastEventMap>

Properties

PropertyTypeDescription
errorCastError &#124; undefinedThe last error that occurred during casting, if any.
receiverNamestring &#124; undefinedThe name of the Chromecast device that the player is casting to, if any.
sourceSourceDescription &#124; undefinedThe source of the active casting session, if any.

Methods

MethodDescription
join()Join an active casting session.
leave()Leave the active casting session.