Service layer serves as the api of a player. It should provide high level function and use the adapter to accomplish the tasks.
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.
Cancels loop playback.
Decreases the current playback rate based on predefined steps.
Destroys the service, should only be called from within the player.
Returns the active video file or undefined if no video file is loaded.
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.
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.
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
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.