Example 12 - Supporting Fallback Companions from VAST Wrappers

Loading the player ...
A 300x250 COMPANION GOES 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", 
       duration: 30,
       'controlbar.position':'bottom',
       plugins: {
           "../../../dist/swf/ova-jw.swf": {                
               "debug": { 
                   "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api" 
               },
               
               "ads": {
                   "companions": {
                       "regions": [
                          {
                             "id": "companion-1",
                             "width": 300,
                             "height": 250
                          }
                       ]
                   },
                   "schedule": [
                       {
                          "position": "pre-roll",
                          "tag": "../../../dist/templates/wrapper/vast2-wrapper-companion-fallback.xml"
                       }
                   ]
               }
           }
       },
       height: 252,
       width: 444
});
</script>