Packageorg.flowplayer.model
Interfacepublic interface Plugin
SubinterfacesDisplayPluginModel
ImplementorsProviderModel

Plugin lifecycle interface that can be optionally implemented by plugins. This interface provides plugins with: Lifecycle methods are invokek in following order: 1) onConfig(), 2) onLoad(), 3) getDefaultConfig().



Public Methods
 MethodDefined by
  
Gets the default configuration to be used for this plugin.
Plugin
  
onConfig(configProps:PluginModel):void
Provided plugins configuration properties.
Plugin
  
onLoad(player:Flowplayer):void
Called when the player has been initialized.
Plugin
Method detail
getDefaultConfig()method
public function getDefaultConfig():Object

Gets the default configuration to be used for this plugin. Called after onConfig() but before onLoad()

Returns
Object — default configuration object, null if no defaults are available
onConfig()method 
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.

Parameters
configProps:PluginModel
onLoad()method 
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 player's Panel).

Parameters
player:Flowplayer