Example 5 - Turning off VAST enforced SWF sizing and using actual SWF size

Loading the player ...

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": {
                 "schedule": [
                     {
                        "region": "auto:bottom",
                        "startTime": "00:00:02",
                        "duration": "recommended:10",
                        "enableScaling": true,
                        "tag": "../../../../../../dist/templates/overlays/scaling/vast2-swf-scalable-bad-size.xml"
                     }
                 ]
              }
           }
       },
       height: 300,
       width: 450
});
</script>