Packageorg.flowplayer.model
Interfacepublic interface Pluggable
ImplementorsStyleableSprite

This interface can be implemented by plugins but it is not required. Implementating this interface provides plugins with: The player sets the properties in this order: 1) plugin, 2) player, 3) defaultConfig. The plugin object is set after the plugin SWF has been loaded into the player. The player object is set after all configured plugins have been loaded and the Flowplayer API is ready to be used. Finally the player gets the defaultConfig from the plugin just prior to adding it into the Panel and to the Flash display list.



Public Properties
 PropertyDefined by
  defaultConfig : Object
[read-only] Gets the default configuration used for this plugin.
Pluggable
  player : Flowplayer
[write-only] Sets the Flowplayer API.
Pluggable
  plugin : Plugin
[write-only] Sets the plugin model.
Pluggable
Property detail
defaultConfigproperty
defaultConfig:Object  [read-only]

Gets the default configuration used for this plugin.

Implementation
    public function get defaultConfig():Object
playerproperty 
player:Flowplayer  [write-only]

Sets the Flowplayer API. The interface is immediately ready to use, all other plugins have been loaded an initialized when this get called.

After this method has been called the plugin will be placed on the stage (on player's Panel). Implementation
    public function set player(value:Flowplayer):void

pluginproperty 
plugin:Plugin  [write-only]

Sets the plugin model. This gets called before the plugin has been added to the display list and before the player is set.

Implementation
    public function set plugin(value:Plugin):void