Class: ChromeCastButton

ChromeCastButton


new ChromeCastButton()

The base class for buttons that toggle chromecast video

Extends

  • Button

Methods


casting(state)

casting

Parameters:
Name Type Description
state boolean

error()

error


hide()

hide


manager()

Get manager

Returns:

ChromecastSender

Type
Object

show()

show

Class: ChromeCastButton

ChromeCastButton


new ChromeCastButton(player [, options])

Create a Chromecast button

Parameters:
Name Type Argument Description
player Player | Object
options Object <optional>

Methods


casting(state)

casting

Parameters:
Name Type Description
state boolean

error()

error


hide()

hide


manager()

Get manager

Returns:

ChromecastSender

Type
Object

show()

show