Class: CastPlugin

empCastSender~ CastPlugin


new CastPlugin(player [, options])

Cast sender Plugin

Parameters:
Name Type Argument Description
player Player

The Player that this class should be attached to.

options Object <optional>

The key/value store of player options.

Extends

  • videojs.Plugin

Methods


addChromecastManager()

Adds specific chromecast manager into the manager list


canOverride(functionality)

canOverride Cast functionality

Parameters:
Name Type Description
functionality string
Returns:

canOverride

Type
boolean

cast()

Start Casting


dispose()

dispose Casting


getAppId()

get Cast AppId from chromeCastButton or empcast options

Returns:

ChromeCast AppId

Type
string

Class: CastPlugin

empCastSender~ CastPlugin


new CastPlugin(player [, options])

Create the CastPlugin

Parameters:
Name Type Argument Description
player Player

The Player that this class should be attached to.

options Object <optional>

The key/value store of player options.

Methods


addChromecastManager()

Adds specific chromecast manager into the manager list


canOverride(functionality)

canOverride Cast functionality

Parameters:
Name Type Description
functionality string
Returns:

canOverride

Type
boolean

cast()

Start Casting


dispose()

dispose Casting


getAppId()

get Cast AppId from chromeCastButton or empcast options

Returns:

ChromeCast AppId

Type
string