MediaPlayerPlayback
@Emits(events = [EventType.BUFFERED_UPDATE, EventType.COMPLETED, EventType.DID_SET_SOURCE, EventType.DID_CHANGE_LIST, EventType.DID_PLAY, EventType.DID_INTERRUPT_CONTENT, EventType.DID_RESUME_CONTENT, EventType.DID_PAUSE, EventType.DID_STOP, EventType.DID_SEEK_TO, EventType.DID_SELECT_SOURCE, EventType.ERROR, EventType.PLAY, EventType.PREBUFFER_NEXT_VIDEO, EventType.PROGRESS, EventType.SELECT_SOURCE, EventType.SET_SOURCE, EventType.SET_VIDEO, EventType.SOURCE_NOT_PLAYABLE, EventType.SOURCE_NOT_PLAYABLE, EventType.VIDEO_SIZE_KNOWN, EventType.VIDEO_DURATION_CHANGED, EventType.WILL_CHANGE_VIDEO] )
@ListensFor(events = [EventType.BUFFERED_UPDATE, EventType.COMPLETED, EventType.DID_PLAY, EventType.DID_SET_SOURCE, EventType.ON_FRAME_AVAILABLE, EventType.PLAY, EventType.PAUSE, EventType.PREBUFFER_NEXT_VIDEO, EventType.READY_TO_PLAY, EventType.STOP, EventType.SEEK_TO, EventType.SET_SOURCE, EventType.SET_VOLUME, EventType.VIDEO_DURATION_CHANGED, EventType.WILL_CHANGE_VIDEO, EventType.WILL_INTERRUPT_CONTENT, EventType.WILL_RESUME_CONTENT] )
Properties
Functions
Link copied to clipboard
Add all videos in the collection to the end of the list.
Inserts all videos in the collection at the specified index.
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
Destroys the current player and releases it from memory.
Link copied to clipboard
Emits an error event with the message passed in the event's properties
Emits an error event including the message passed and the exception in the properties
Link copied to clipboard
Returns the buffer percentage
Link copied to clipboard
Returns the current playhead position of the underlying video player.
Link copied to clipboard
Provides a reference to the EventEmitter with which this component was initialized
Link copied to clipboard
Obtains the playhead position of the "live edge".
Link copied to clipboard
Get the object which handles showing an on-going player notification.
Link copied to clipboard
Gets a video from the video list at the specified index
Link copied to clipboard
Returns true if the video is a 360 video otherwise returns false
Link copied to clipboard
Checks the current playhead position with the live edge position and determines if it is in live edge.
Link copied to clipboard
Check if the player is currently playing and the media is audio-only.
Link copied to clipboard
Returns if a source has been set
Link copied to clipboard
This is called when the MediaPlaybackService is currently running and the user has removed a task that comes from the service's application.
Link copied to clipboard
Prepares the player to play the current video source.
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
Sets the the interval in milliseconds at which to fire PROGRESS events during playback.
Link copied to clipboard
Replaces player content with the video at the specified path.
Replace player content with the video and captions at the specified paths.
Link copied to clipboard
Sets the video source that will be used for playback.