This example illustrates how the "this is an advert" type message can be turned on and off, and the text changed. For this example, the text has been set to "My New Ad Notice - _seconds_ seconds".
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Example 1 - Changing the "This is an advert" message
</ova.title>
<ova.json>
{
"overlays": {
"regions": [
{
"id": "my-ad-notice",
"verticalAlign": "bottom",
"horizontalAlign": "right",
"backgroundColor": "transparent",
"width": "100pct",
"height": 40,
"style": ".smalltext { font-style: italic; font-size:10; }"
}
]
},
"ads": {
"skipAd": {
"enabled": true,
"html": "<p>SKIP!</p>",
"region": {
"id": "my-new-skip-ad-button",
"verticalAlign": 3,
"horizontalAlign": 3,
"backgroundColor": "#FF3300",
"opacity": 0.8,
"borderRadius": 15,
"padding": "0 1 1 13",
"width": 60,
"height": 20
}
},
"servers": [
{
"type": "OpenX",
"apiAddress": "OVA_OPENX_API"
}
],
"schedule": [
{
"zone": "5",
"position": "pre-roll",
"notice": {
"show": true,
"region": "my-ad-notice",
"message": "<p class=\"smalltext\" align=\"right\">
Publicité - Votre vidéo dans _countdown_ seconde(s)</p>"
}
}
]
},
"debug": {
"levels": "OVA_DEBUG",
"debugger": "firebug"
}
}
</ova.json>
</config>