Example 2 - Linear Pre-roll and Companion

COMPANION AD APPEARS HERE

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",
       image: "http://static.openvideoads.org/shows/the-black-hole-thumbnail.png",
       duration: 40,
       'controlbar.position': 'bottom',
       plugins: {
           "../../../../dist/swf/ova-jw.swf": { 
              "debug": {
                  "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
              },
              "ads": {
                 "notice": { "textStyle": "smalltext" },
  	             "companions": {
	                "regions": [
                        { "id":"companion", "width":"300", "height":"250" }
                    ]
                 },
                 "schedule": [
                    { 
                       "position": "pre-roll",
                       "tag": "http://eas4.emediate.eu/eas?cu=14102;ty=video"  
                    }
                 ]
              }
           }
       },
       height: 300,
       width: 450
});
</script>