- Description:
Video JS loader.
This takes care of applying the filter on content which was dynamically loaded.
- Source:
- Copyright:
- 2016 Frédéric Massart - FMCorz.net
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Video JS loader.
This takes care of applying the filter on content which was dynamically loaded.
Members
(inner) List :object
- Description:
of languages and translations for the current page
- Source:
of languages and translations for the current page
Type:
- object
(inner) The :string
- Description:
language that is used in the player
- Source:
language that is used in the player
Type:
- string
(inner) Whether :bool
- Description:
this is the first load of videojs module
- Source:
this is the first load of videojs module
Type:
- bool
Methods
(static) setUp(lang)
- Description:
Initialisei teh videojs Loader.
Adds the listener for the event to then notify video.js.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
lang |
string | Language to be used in the player |
Listens to Events:
(inner) getLanguageJson() → {Promise}
- Description:
Returns the json object of the language strings to be used in the player.
- Source:
Returns:
- Type
- Promise
(inner) notifyVideoJS(e)
- Description:
Notify video.js of new nodes.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
e |
Event | The event. |