Example 2 - Enabling the standard image close button

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"
              },

              "regions": {
                   "closeButton": { "type": "standard" }
              },

              "ads": {
                 "servers": [
                    {
                       "type": "OpenX",
                       "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
                    }
                 ],
                 "pauseOnClickThrough": true,
                 "schedule": [
                    {
                       "zone": "28",
                       "startTime": "00:00:05",
                       "region": "auto:bottom",
                       "duration": "recommended:10"
                    }
                 ]
              }
           }
       },
       height: 300,
       width: 450
});
</script>