Creates an instance.
The video element that should load an HLS file.
The licens key to Accurate Player
Optional
settings: Partial<AbrPlayerSettings>Settings controlling some basic functionality of the player.
Readonly
apiContains methods controlling the playback.
Readonly
versionCollects information about the player setup. Including versions for core, controller and all plugins.
Returns true if the player uses multiple video elements for playback, false otherwise.
Adds an event listener for a specific event.
Event type.
Listener callback function.
Rest
...args: any[]Optional
once: boolean(Optional) Indicating that the listener should be invoked at most once after being added. If true, the listener would be automatically removed when invoked.
Alias method for addEventListener.
Event type.
Listener callback function.
Rest
...args: any[]Optional
once: boolean(Optional) Indicating that the listener should be invoked at most once after being added. If true, the listener would be automatically removed when invoked.
ABR Player
This is a player that supports playback of DASH and HLS files and is based on shaka-player.
Shaka player comes with a lot of capabilities and functionallity. In order to take advantage of all features we provide access to the player instance through
player.api.shakaInstance
, additionally we expose some utility methods to configure the instance as well.DRM
Shaka player enables playback of DRM encoded content.