Class: shaka.ui.CastButton

Constructor

(export) new CastButton(parentnon-null, controlsnon-null)

Parameters:
Name Type Description
parent HTMLElement
controls shaka.ui.Controls
Extends:
Source:

Extends

Classes

Factory

Members

(private, non-null) castButton_ :HTMLElement

Type:
  • HTMLElement
Source:

(private, non-null) castIcon_ :HTMLElement

Type:
  • HTMLElement
Source:

(export) parent :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:

(export) player :shaka.Player

Type:
Overrides:
Source:

Methods

(async, private) onCastClick_()

Source:

(private) onCastStatusChange_()

Source:

(private) setCurrentCastSelection_()

Source:

(private) updateLocalizedStrings_()

Source: