The configuration for this example is:
<script type="text/javascript">
function onAdSchedulingStarted() {
debug("OVA CALLBACK: Ad scheduling started");
}
....
function onAdSchedulingComplete(ads) {
debug("OVA CALLBACK: Ad scheduling complete - " + ads.length + " ads scheduled");
debug(ads);
}
jwplayer("container").setup({
flashplayer: "",
width: 650,
height: 240,
controlbar: "bottom",
playlist:[
{
file: "http://streaming.openvideoads.org/shows/bbb-640x360.mp4",
duration: 10
}
],
plugins: {
"../../../dist/swf/ova-jw.swf": {
"ads": {
"companions": {
"regions": [
{ "id":"companion", "width":"300", "height":"250" }
]
},
"schedule": [
{
"position": "pre-roll",
"tag": "../../../dist/templates/error-responses/vast1.0/blank-vast-response.xml"
}
]
},
"debug": {
"levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
}
}
}
});
</script>