Ticket #415 (closed feature: fixed)
Clean up player API
|Reported by:||jeroen||Owned by:||pablo|
Description (last modified by pablo) (diff)
Player 5 plugins will have a new API to interact with the player, which simplifies player interaction and removes the need for plugin developers to understand the player's internal structure.
- Plugins have an initPlugin(player, config) call, which returns a reference to the Player API class and the plugin's config object.
- ActionScript can subscribe to the PlayerEvent.JWPLAYER_PLAYER_READY event.
Public Player properties (read-only)
Public Player methods
- addEventListener(event type,listener):Boolean
- removeEventListener(event type,listener):Boolean