This example illustrates how to modify the default title shown for an ad when the standard Flowplayer JS plugin is used. By default the title shown is "Advertisement".
The RSS playlist file that is loaded by this example can be found here.
The configuration for this example is:
$(function() {
$f("player", "", {
playlist: "",
plugins: {
controls: {
autoHide: "always"
},
ova: {
url: "",
"debug": {
"levels": ""
},
"ads": {
"pauseOnClickThrough": true,
"metaData": {
"linear": {
"title": "Ad Break (__index__)",
"description": "__duration__ seconds"
}
},
"servers": [
{
"type": "OpenX",
"apiAddress": "",
"allowAdRepetition": true
}
],
"schedule": [
{
"zone": "5",
"position": "pre-roll"
}
]
}
}
}
}).playlist(".clips", {loop: true});
// setup scrolling for the playlist elements
$("div.playlist").scrollable({
items:"div.clips",
vertical:true,
next:"a.down",
prev:"a.up"
});
});