Abstract Protected _Type helper for event map - not used at runtime
Readonly Abstract nameUnique name for the plugin - must be readonly Used to identify and access the plugin from player.plugins
Abstract initInitialize the plugin with the player instance Called once when the player is initialized
The player instance to attach to
Abstract base class for Player plugins Plugins can extend the player functionality and add custom events
Example