Constructor
new VolumeBar(parentnon-null, controlsnon-null)
Parameters:
Name | Type | Description |
---|---|---|
parent |
HTMLElement | |
controls |
shaka.ui.Controls |
- Extends:
- Source:
Extends
Classes
Members
bar :HTMLInputElement
Type:
- HTMLInputElement
- Overrides:
- Implements:
- Source:
container :HTMLElement
This container is to support IE 11. See detailed notes in
less/range_elements.less for a complete explanation.
Type:
- HTMLElement
- Overrides:
- Implements:
- Source:
isChanging_ :boolean
Type:
- boolean
- Overrides:
- Source:
Methods
onAdVolumeChange_()
- Source:
onPresentationVolumeChange_()
- Source:
release()
- Inherited From:
- shaka.ui.RangeElement#release
- Source:
setBarValueForTouch_(event)
Synchronize the touch position with the range value.
Comes in handy on iOS, where users have to grab the handle in order
to start seeking.
Parameters:
Name | Type | Description |
---|---|---|
event |
Event |
- Overrides:
- Source:
updateAriaLabel_()
- Source:
updateColors_()
- Source: