Class: shaka.ui.PlayPauseButton

Constructor

(export) new PlayPauseButton(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:

(export) parent :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:

(export) player :shaka.Player

Type:
Overrides:
Source:

Methods

(private) isPaused_() → {boolean}

Source:
Returns:
Type
boolean

(private) updateAriaLabel_()

Source:

(private) updateIcon_()

Source: