Version: 1.x

ScrubberControl

ID: vScrubberControl | LABEL: seek | Type: Control

A control that displays the progress of playback and the amount buffered. It also enables the user to seek to a new time.

Relationships#

Tooltips#

If the Tooltips plugin is available then the control will render a tooltip and register it under its LABEL. The tooltip displays the time the user's mouse pointer is hovering over on the scrubber.

Methods#

getEl()#

Return Type: HTMLElement

The root HTML element of the component.

getSlider()#

Return Type: <input type="range">

The input range slider that is used to seek to a new time.

getTooltip#

Return Type: Tooltip|undefined

The rendered Tooltip instance (if the Tooltips plugin is available).

getProgressBar#

Return Type: <progress>

The progress indicator element that is used to show the amount buffered and when the player is buffering.