Class: shaka.ui.PresentationTimeTracker

Constructor

(export) new PresentationTimeTracker(parentnon-null, controlsnon-null)

Parameters:
Name Type Description
parent HTMLElement
controls shaka.ui.Controls
Extends:
Source:

Extends

Classes

Factory

Members

(protected, non-null) controls :shaka.ui.Controls

Type:
Overrides:
Source:

(protected, non-null) parent :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:

(protected) player :shaka.Player

Type:
Overrides:
Source:

(protected) video :HTMLMediaElement

Type:
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: