Constructor
(export) new PresentationTimeTracker(parentnon-null, controlsnon-null)
Parameters:
Name | Type | Description |
---|---|---|
parent |
HTMLElement | |
controls |
shaka.ui.Controls |
- Extends:
- Source:
Extends
Classes
Members
(protected, non-null) 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
(private) updateTime_()
- Source: