Note Should only be used from within the player.
The video element.
Callback to control internal event handling.
Event bus for internal communication.
Basic settings controlling the behavior.
An object containing all currently registered plugins.
Access a specific plugin using the Plugins static property
Returns true if a seek is in progress, false otherwise
Player and plugins, if any, are ready for continued playback.
The maximum acceptable value for playback rate.
The maximum value.
The minimum acceptable value for playback rate.
The minimum value.
Player and plugins, if any, are all muted.
Returns a list of playback rates that are used when increasing or decreasing playback rate.
Returns the shaka-player instance. See shaka-player for documentation: https://shaka-player-demo.appspot.com/docs/api/shaka.Player.html
Check if the abr-manager (automatic switch) is enabled.
True if enabled.
Cancels loop playback.
Reset all registered request interceptors.
Reset all registered response interceptors.
Sets the shaka-player configuration.
The shaka-player configuration. For available settings see: https://shaka-player-demo.appspot.com/docs/api/shaka.extern.html#.PlayerConfiguration
Decreases the current playback rate based on predefined steps.
Destroys the service, should only be called from within the player.
Returns the current playing audios id. The id corresponds to the currently playing audio track
Returns the active video file or undefined if no video file is loaded.
Returns the id of the active video representation, or -1 if set to auto.
Get the audio tracks.
An array of audio tracks.
Returns the current time of the player in the requested format.
The format to return the current time in.
Returns the duration of the current media in the requested format.
The format to return the duration in.
Returns the current status of the active media.
Gets the subtitle tracks.
An array of subtitle text tracks.
Returns all available video representations.
Increases the current playback rate based on predefined steps.
Returns a list of all registered plugins.
Load a specific video file.
The video file to load.
Loop section of loaded Video.
Mutes the player.
Mutes the muxed audio
Helper method to make sure that playback is resumed correctly. Should only be used from within the player.
Pauses playback and makes sure that the player is stopped at an exact frame.
(Optional) Seek to specific time when pausing.
Starts playback. Queues requests if the player is seeking or loading to achieve autoplay behavior.
Register an interceptor for shaka players network calls.
The filter to register.
Register an interceptor for shaka players network responses.
The filter to register.
Seeks to a specific time in the current media.
Specifies where to seek to within the media.
Set the audio track.
of the audio track.
Update frameOffset value for all loaded videoFiles. Equivalent to load videoFile with a specific frameOffset.
Frame offset to set.
Sets the playback rate. Limited to predefined min- and max values.
The new playback rate
Sets a subtitle track.
of the subtitle track.
Set the desired video representation using id. -1 will enable auto switch.
The id of the desired representation.
Set the volume of the player.
A number between 0 and 1.
Sets the default controller for the volume
the volume controller
Toggles mute on the muxed audio
Unmutes the player.
Unmutes the muxed audio
Update the dropFrame value for all loaded videoFiles. Equivalent to load videoFile with dropFrame property set.
Drop frame value to set.