-
public final class 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.
-
-
Method Summary
Modifier and Type Method Description static Playlist
buildPlaylistFromJSON(JSONObject json, EventEmitter eventEmitter)
Builds a Video Playlist from a Brightcove Playback API json object. static Video
buildVideoFromJSON(JSONObject json, EventEmitter eventEmitter)
Builds a Video from a Brightcove Playback API json object. -
-
Method Detail
-
buildPlaylistFromJSON
static Playlist buildPlaylistFromJSON(JSONObject json, EventEmitter eventEmitter)
Builds a Video Playlist from a Brightcove Playback API json object.
- Parameters:
json
- the json objecteventEmitter
- The SDK event emitter object.
-
buildVideoFromJSON
static Video buildVideoFromJSON(JSONObject json, EventEmitter eventEmitter)
Builds a Video from a Brightcove Playback API json object.
- Parameters:
json
- the json objecteventEmitter
- The SDK event emitter object.
-
-
-
-