Version: 2.67.0

VendorCast

THEOplayer > VendorCast

VendorCast interface

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>

Properties

Property

Type

Description

casting

boolean

Whether the player is casting.

state

CastState

The state of the casting process.

Methods

Method

Description

start()

Start a casting session with the player's source.

stop()

Stop the active casting session.