Flash Bridge Reference
The Flash bridge (com.videoplaza.bridge) will act as the glue between your video player and the Flash Ad Player. It is responsible for locating and loading the correct version of the Flash Ad Player from the Pulse servers, along with any required scripts, skins, fonts, and so on. The purpose of the bridge class is to make proper API calls to the Flash Ad Player based on the states and events sent from your video player.
This method attempts to initialise the Flash Ad Player using the supplied configuration object.
Success and failure callback methods are defined.
Translates and communicates events from the video player to the Flash Ad Player.
The Flash Ad Player will call this method every time it needs the video position.
This method should return the video player's current position.
Definition of Player State constants required by the interface.
|videoplazaLoadedFail||Flash Ad Player fails to load.
Returns an error message.
|videoplazaLoadedSuccess||Flash Ad Player loads successfully.
Returns the Flash Ad Player object.
|setNewItem||Set a new media file configuration and make an ad request.|
|onAdModuleCreated||Every time a new ad module is created it will fire this method.
This can be used to add further customisations and event listeners to the ad modules.
|Getters & Setters||Various getters and setters for the interface.