new LoadProgressBar(player [, options])
Creates an instance of this class.
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
player |
Player | The |
|
options |
Object |
<optional> |
The key/value store of player options. |
Extends
- Component
Methods
-
createEl()
-
Create the
Component
's DOM elementReturns:
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