VideoParser

Utility class used to create a Video object from a JSONObject instance. The JSONObject properties must correspond to the Brightcove Playback API JSON response.

For for information about the Brightcove Playback API, please visit https://support.brightcove.com/overview-playback-api.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun buildPlaylistFromJSON(json: JSONObject, eventEmitter: EventEmitter): Playlist
Builds a Video Playlist from a Brightcove Playback API json object.
Link copied to clipboard
open fun buildVideoFromJSON(json: JSONObject, eventEmitter: EventEmitter): Video
Builds a Video from a Brightcove Playback API json object.