Namespace: OO

OO

Classes

Player
MessageBus
PlayerApi
Ads
Video

Namespaces

STATE
Represents the Ooyala Player run-time states.
EVENTS
Represents the Ooyala Player events.
ERROR
Represents the Ooyala V4 Player Errors.

Members

<static> modules

An array of all registered modules.

Methods

registerModule(_moduleName, _moduleClassFacotry)

Registers a module to be instantiated with each player.
Parameters:
Name Type Description
_moduleName string The name of the module
_moduleClassFacotry object A factory for creating an instance of the module

plugin(moduleName, moduleClassFacotry)

Registers a plugin to be instantiated with each player.
Parameters:
Name Type Description
moduleName string The name of the module
moduleClassFacotry object A factory for creating an instance of the module

exposeStatieApi(_apiModule, _apiObject)

Exposes an API object to the public scope.
Parameters:
Name Type Description
_apiModule string The route of the api module
_apiObject object The api object to expose