Class: PlayerApi

OO. PlayerApi

API layer for the Ooyala Player. This class takes no direct action on the player. It stores player properties and provides an API layer for the player that interacts with the message bus.

PlayerApi(_mb, _elementId, _modules, _parameters)

Initialize an instance of the current class using the new keyword along with this constructor.
Name Type Description
_mb object The player message bus
_elementId string The DOM id of the root player element
_modules string The module instances for the player
_parameters string The parameters for the first playback session
Name Type Description
mb object The message bus instance for the player
modules object The module instances for the player
parameters object The parameters for the playback session
persistentSettings object The persistent settings for the player