Constructor
(export) new PresentationTimeTracker(parentnon-null, controlsnon-null)
Parameters:
Name | Type | Description |
---|---|---|
parent |
HTMLElement | |
controls |
shaka.ui.Controls |
- Extends:
- Source:
Extends
Classes
Members
(export) parent :HTMLElement
Type:
- HTMLElement
- Overrides:
- Source:
Methods
(private) buildTimeString_(displayTime, showHour) → {string}
Builds a time string, e.g., 01:04:23, from |displayTime|.
Parameters:
Name | Type | Description |
---|---|---|
displayTime |
number | |
showHour |
boolean |
- Source:
Returns:
- Type
- string
onTracksChanged_()
Set the aria label to be 'Live' when the content is live stream.
- Source:
(private) setValue_()
- Source:
(private) updateTime_()
- Source: