Class: shaka.ui.PlayButton

Constructor

new PlayButton(parentnon-null, controlsnon-null)

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

Extends

Members

button :HTMLButtonElement

Type:
  • HTMLButtonElement
Implements:
Source:

parent :HTMLElement

Type:
  • HTMLElement
Overrides:
Implements:
Source:

Methods

isEnded() → {boolean}

Implements:
Source:
Returns:
Type
boolean

isPaused() → {boolean}

Implements:
Source:
Returns:
Type
boolean

updateAriaLabel()

Called when the button's aria label needs to change. To be overridden by subclasses.
Source:

updateIcon()

Called when the button's icon needs to change. To be overridden by subclasses.
Source: