GoogleIMAVideoFactory()
Initialize an instance of the current class using the new keyword along with this constructor.
Properties:
| Name | Type | Description |
|---|---|---|
name |
string | The name of the plugin |
ready |
boolean | The readiness of the plugin for use (true if elements can be created) |
streams |
object | An array of supported encoding types (ex. m3u8, mp4) |
Methods
-
create(parentContainer, id, ooyalaVideoController, css, playerId) → {object}
-
Creates a video player instance using GoogleIMAVideoWrapper.
Parameters:
Name Type Description parentContainerobject The jquery div that should act as the parent for the video element idstring The id of the video player instance to create ooyalaVideoControllerobject A reference to the video controller in the Ooyala player cssobject The css to apply to the video element playerIdstring The unique player identifier of the player creating this instance Returns:
A reference to the wrapper for the newly created element- Type
- object
-
createFromExisting(domId, ooyalaVideoController, playerId) → {object}
-
Creates a video player instance using GoogleIMAVideoWrapper which wraps and existing video element.
Parameters:
Name Type Description domIdstring The dom id of the video DOM object to use ooyalaVideoControllerobject A reference to the video controller in the Ooyala player playerIdstring The unique player identifier of the player creating this instance Returns:
A reference to the wrapper for the video element- Type
- object
-
destroy()
-
Destroys the video technology factory.