VideoPlaybackController
@Emits(events = [EventType.COMPLETED, EventType.CUE_POINT, EventType.DID_SELECT_SOURCE, EventType.DID_SET_VIDEO, EventType.PLAY, EventType.SELECT_SOURCE, EventType.SET_SOURCE, EventType.SET_VIDEO_STILL] )
@ListensFor(events = [EventType.COMPLETED, EventType.CUE_POINT, EventType.SEEK_TO, EventType.DID_SEEK_TO, EventType.DID_SET_SOURCE, EventType.PLAY, EventType.DID_PLAY, EventType.PROGRESS, EventType.READY_TO_PLAY, EventType.REMOVE_CUE_POINT, EventType.SET_CUE_POINT, EventType.SET_CUE_POINTS, EventType.SET_VIDEO, EventType.WILL_CHANGE_VIDEO] )
Manages video playback and provides proper translation between the Brightcove representation of videos and the underlying platform's representation. This includes performing activities such as selecting the appropriate rendition to play, given a Video object, and ensuring that a Video still image loads properly if specified in a Video object.
Constructors
Functions
Link copied to clipboard
Convenience method to add an EventListener for the given type using the EventEmitter.on() method.
Link copied to clipboard
Convenience method to add an EventListener for the given type using the EventEmitter.once() method.
Link copied to clipboard
Provides a reference to the EventEmitter with which this component was initialized
Link copied to clipboard
Gets the time in milliseconds for the Live Stream Window.
Link copied to clipboard
Indicates whether there are pending Sources to load.
Link copied to clipboard
Resets the state of the controller to its initial values.
Link copied to clipboard
Link copied to clipboard
Removes the specified listener from the EventEmitter.
Link copied to clipboard
Removes all set listeners from the EventEmitter.
Link copied to clipboard
Link copied to clipboard
Sets the time in milliseconds for the Live Stream Window.
Link copied to clipboard
Set whether the controller selects the source or if this is handled by another component.