Class: shaka.ui.MuteButton

Constructor

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

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

Extends

Classes

Factory

Members

(private, non-null) button_ :HTMLElement

Type:
  • HTMLElement
Source:

(protected, non-null) controls :shaka.ui.Controls

Type:
Overrides:
Source:

(protected, non-null) parent :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:

(protected) player :shaka.Player

Type:
Overrides:
Source:

(protected) video :HTMLMediaElement

Type:
Overrides:
Source:

Methods

(private) updateAriaLabel_()

Source:

(private) updateIcon_()

Source: