The configuration for this example is:
<script type="text/javascript">jwplayer("container").setup({
flashplayer: "",
file: "http://streaming.openvideoads.org:81/shows/the-black-hole.mp4",
duration: 10,
'controlbar.position':'bottom',
plugins: {
"../../../dist/swf/ova-jw.swf": {
"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": {
"controls": {
"skipAd": {
"enabled": true,
"html": "SKIP!
",
"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": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
}
],
"schedule": [
{
"zone": "5",
"position": "pre-roll",
"notice": {
"show": true,
"region": "my-ad-notice",
"message": "Publicité - Votre vidéo dans _countdown_ seconde(s)
"
}
}
]
},
"debug": {
"levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
}
}
},
height: 300,
width: 450
});
</script>