media_videojs/loader

Video JS loader.

This takes care of applying the filter on content which was dynamically loaded.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Members

(inner) List :object

Source:

of languages and translations for the current page

Type:
  • object

(inner) The :string

Source:

language that is used in the player

Type:
  • string

(inner) Whether :bool

Source:

this is the first load of videojs module

Type:
  • bool

Methods

(static) setUp(lang)

Source:

Initialisei teh videojs Loader.

Adds the listener for the event to then notify video.js.

Parameters:
Name Type Description
lang string

Language to be used in the player

Listens to Events:

(inner) getLanguageJson() → {Promise}

Source:

Returns the json object of the language strings to be used in the player.

Returns:
Type
Promise

(inner) notifyVideoJS(e)

Source:

Notify video.js of new nodes.

Parameters:
Name Type Description
e Event

The event.