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",
"vpaid": {
"enable": true,
"loaded": "/ova-example/vpaid/loaded",
"started": "/ova-example/vpaid/started",
"complete": "/ova-example/vpaid/complete",
"stopped": "/ova-example/vpaid/stopped",
"linearChange": "/ova-example/vpaid/linearChange",
"expandedChange": "/ova-example/vpaid/expandedChange",
"remainingTimeChange": "/ova-example/vpaid/remainingTimeChange",
"volumeChange": "/ova-example/vpaid/volumeChange",
"videoStart": "/ova-example/vpaid/videoStart",
"videoFirstQuartile": "/ova-example/vpaid/videoFirstQuartile",
"videoMidpoint": "/ova-example/vpaid/videoMidpoint",
"videoThirdQuartile": "/ova-example/vpaid/videoThirdQuartile",
"videoComplete": "/ova-example/vpaid/videoComplete",
"userAcceptInvitation": "/ova-example/vpaid/userAcceptInvitation",
"userClose": "/ova-example/vpaid/userClose",
"paused": "/ova-example/vpaid/paused",
"playing": "/ova-example/vpaid/playing",
"error": "/ova-example/vpaid/error"
}
}
}
},
"ads": {
"schedule": [
{
"position": "pre-roll",
"tag": "../../../dist/templates/ad-servers/innovid/vpaid-linear.xml"
}
]
}
}
},
height: 300,
width: 450
});
</script>