Display video ads from Adotube
Features
- Supports multiple pre-, mid- and post-roll ads, and multiple companions per ad.
- Rich interactive overlays
- Flexible pricing models
- Open Source, with code hosted in the Flowplayer Subversion respository
Configuration
The omlSource variable is the only required variable in order to display ads
using the Adotube plugin. The other variables are optional, unless your
placement will require a more advanced configuration.
$f("player", "http://releases.flowplayer.org/swf/flowplayer-3.2.11.swf", {
// the Adotube plugin is configured here
plugins: {
adotube: {
url: 'http://releases.flowplayer.org/swf/AdotubePlugin.swf',
omlSource: 'http://www.adotube.com/php/services/player/OMLService.php?avpid=UAjpNOE&ad_type=overlays&supportsInStreamSkin=1',
// publisher dynamic settings
publisherName: 'flowplayer.org',
pdv_video_title: 'Test Video',
pdv_video_tags: 'tag1 tag2 tag3',
onNoAdAvailable: function() {
// If Adotube returns no ads for display this event will be dispatched.
// Code to handle this case should be placed here.
this.loadPlugin("content", "flowplayer.content-3.2.8.swf", {
html: '<strong>onNoAdAvailable</strong> event triggered!'
});
}
}
}});
Below is a complete list of configuration options of the plugin:
| Property name | Description |
|---|---|
|
|
The URL of the Adotube plugin's swf file. |
|
|
Source of the configuration file obtained from the Publisher Management Console, for example, http://www.adotube.com/php/services/player/OMLService.php?avpid=UAjpNOE&ad_type=overlays&supportsInStreamSkin=1 |
|
|
nameOfYourWebsite.com |
|
|
video title |
|
|
tags separated with spaces, for example, tag1 tag2 tag3 |
|
|
[OPTIONAL] Location of the Overstream Platform, for example, http://chibis.adotube.com/overstreamPlatform/NOP.swf |
Placement
Basically, the only variable that is needed for the plugin to function correctly is
the omlSource. This variable is actually pointing to a URL where the OML file can
be found. The OML is an XML-type file used to describe how the placement will
behave. The adotube_omlSource variable will be obtained after you register with
us and create a placement in our Publisher Management Console.
The overstreamPlatformURL variable is optional. It should be specified only in
case the Adotube Platform (the Overstream Platform) is loading from a different
location than the default one i.e. the Adotube servers.
Publisher Dynamic Variables
If specified, the Dynamic Variables override the corresponding variables from the
Adotube Video Placement. These variables are the ones that have the pdv_ prefix
and should be created dynamically using server-side scripting for each video.
The pdv_video_title variable should contain the video title for that specific
video.
The pdv_video_tags variable should contain the video tags for that specific
video.
Company Description
Adotube is a premium online video advertising network which focuses on delivering messages in an overlay format. Our reach, targeting capabilities, creative services and flexible pricing models allow us to work with all types of media buyers to help them accomplish their campaign goals.