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:

(protected) controls :shaka.ui.Controls

Type:
Overrides:
Source:

(protected) parent :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:

(protected) player :shaka.Player

Type:
Overrides:
Source:

(protected) video :HTMLMediaElement

Type:
Overrides:
Source:

Methods

(async, private) onCastClick_()

Source:

(private) onCastStatusChange_()

Source:

(private) setCurrentCastSelection_()

Source:

(private) updateLocalizedStrings_()

Source: