Class: EmpMouseTimeDisplay

EmpMouseTimeDisplay

The Mouse Time Display component shows the time you will seek to
when hovering over the progress bar


new EmpMouseTimeDisplay(player [, options])

Create a time display component

Parameters:
Name Type Argument Description
player Player | Object
options Object <optional>

Extends

  • MouseTimeDisplay

Methods


update(seekBarRect, seekBarPoint)

Enqueues updates to its own DOM as well as the DOM of its
TimeTooltip child.

Parameters:
Name Type Description
seekBarRect Object

The ClientRect for the SeekBar element.

seekBarPoint number

A number from 0 to 1, representing a horizontal reference point
from the left edge of the SeekBar