Class: shaka.ui.PlayButton

Constructor

new PlayButton(parentnon-null, controlsnon-null)

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

Extends

Members

button :HTMLButtonElement

Type:
  • HTMLButtonElement
Source:

parent :HTMLElement

Type:
  • HTMLElement
Overrides:
Implements:
Source:

Methods

isPaused() → {boolean}

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: