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": {
"debug": {
"levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
},
"analytics": {
"google": {
"custom": {
"accountId": "UA-10158120-1",
"adCalls": {
"enable": true,
"fired": "/ova-example/ad-calls/fired",
"complete": "/ova-example/ad-calls/complete",
"failover": "/ova-example/ad-calls/failover",
"error": "/ova-example/ad-calls/error",
"timeout": "/ova-example/ad-calls/timeout",
"deferred": "/ova-example/ad-calls/deferred"
}
}
}
},
"ads": {
"schedule": [
{
"position": "pre-roll",
"server": {
"type": "direct",
"tag": "http://this-wont-work/ad-tag",
"failoverServers": [
{
"type": "direct",
"tag": "../../../dist/templates/wrapper/vast2-wrapper-to-vast2-wrapper-vast1-ad.xml"
}
]
}
}
]
}
}
},
height: 300,
width: 450
});
</script>