Plugin lifecycle interface that can be optionally implemented by plugins.
This interface provides plugins with:
- The ability to interact with Flowplaeyr API.
- Optain the configuration specified for the plugin in the player's configuration.
- The plugin can provide a default configuration object.
Lifecycle methods are invokek in following order: 1) onConfig(), 2) onLoad(), 3) getDefaultConfig().
public function getDefaultConfig():Object
Gets the default configuration to be used for this plugin. Called after onConfig() but
Object — default configuration object,
null if no defaults are available
public function onConfig(configProps:PluginModel):void
Provided plugins configuration properties.
This happens when the plugin SWF has been loaded but
before it is added to the display list.
public function onLoad(player:Flowplayer):void
Called when the player has been initialized. The interface is immediately ready to use, all
other plugins have been loaded and initialized when this gets called.
After this method has been called the plugin will be placed on the stage (on