Constructor
new SmallPlayButton(parentnon-null, controlsnon-null)
Parameters:
Name | Type | Description |
---|---|---|
parent |
HTMLElement | |
controls |
shaka.ui.Controls |
- Extends:
- Source:
Extends
Classes
Members
button :HTMLButtonElement
Type:
- HTMLButtonElement
- Overrides:
- Source:
parent :HTMLElement
Type:
- HTMLElement
- Overrides:
- Implements:
- Source:
Methods
isPaused() → {boolean}
- Overrides:
- Source:
Returns:
- Type
- boolean
updateAriaLabel()
Called when the button's aria label needs to change.
To be overridden by subclasses.
- Overrides:
- Source:
updateIcon()
Called when the button's icon needs to change.
To be overridden by subclasses.
- Overrides:
- Source: