new CastPlugin(player [, options])
Cast sender Plugin
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
player |
Player | The |
|
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