The configuration for this example is:
<script type="text/javascript">
jwplayer("container").setup({
flashplayer: "",
playlist: [
{
file: "http://streaming.openvideoads.org/shows/the-black-hole.mp4",
duration: 10
},
{
file: "http://streaming.openvideoads.org/shows/the-black-hole.mp4",
duration: 11
}
],
width: 650,
height: 240,
controlbar: "bottom",
plugins: {
"../../../dist/swf/ova-jw.js": {
"delayAdRequestUntilPlay": true,
"clearPlaylist": false,
"ads": {
"schedule": [
{
"position": "pre-roll",
"loadOnDemand": true,
"tag": "http://www.adotube.com/kernel/vast/vast.php..."
}
]
},
"debug": {
"levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
}
}
}
});
</script>
<ul>
<li><a href="#" onclick="jwplayer('container').play();">
Start playback
</a></li>
</ul>