Class: LoadProgressBar

LoadProgressBar

Shows loading progress


new LoadProgressBar(player [, options])

Creates an instance of this class.

Parameters:
Name Type Argument Description
player Player

The Player that this class should be attached to.

options Object <optional>

The key/value store of player options.

Extends

  • Component

Methods


createEl()

Create the Component's DOM element

Returns:

The element that was created.

Type
Element

dispose()

dispose


update( [event])

Update progress bar

Parameters:
Name Type Argument Description
event EventTarget~Event <optional>

The progress event that caused this function to run.

Listens to Events:
  • Player#event:progress