MediaPlayback
Plays media using the specified player.
Parameters
<Player>
The type of player used for media playback.
Inheritors
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
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 analytics component, the part of the player that monitors and tracks video playback and engagement.
Link copied to clipboard
Returns the buffer percentage
Link copied to clipboard
Gets the index from the current video
Link copied to clipboard
Returns the current playhead position of the underlying video player.
Link copied to clipboard
Get the current source for the Video.
Link copied to clipboard
Get the currently playing video.
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
Returns a immutable copy of the video list.
Link copied to clipboard
The source selector which uses a delegate to select sources.
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 within range of the 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
Sets the current video to the specified index.
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.