Install with npm. You will need access to our private npm repo.
npm install @accurate-player/accurate-player-core
npm install @accurate-player/accurate-player-progressive
npm install @accurate-player/accurate-player-plugins
For complete example how to get the player running, see accurate-player-demo.
The plugin module contains various plugins that can be registered in the core player.
E.g.
// Create player
player = new ProgressivePlayer();
// Register plugins
hotkeys = new HotkeyPlugin(player);
pointsPlugin = new PointPlugin(player);
Plugins are registered automatically in the player and can be controlled by keeping a reference to the plugin or by accessing it through the player (player.api.plugin[PointsPlugin.Name]
).
We provide and support a range of plugins to extend the functionality of the player including: