Example 11 - Enabling Click-Through Tracking - Overlay

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", 
       duration: 30,
       'controlbar.position':'bottom',
       plugins: {
           "../../../dist/swf/ova-jw.swf": {                
               "debug": { 
                   "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api" 
               },

               "analytics": {
                   "google": {
                      "custom": {
                          "accountId": "UA-10158120-1",
                          "clicks": {
                              "enable": true,
                              "linear": "/ova-example/clicks/linear",
                              "nonLinear": "/ova-example/clicks/nonLinear",
                              "vpaid": "/ova-example/clicks/vpaid"
                          }                      
                      }
                   }
               },
               
               "ads": {
                   "servers": [
                       {
                          "type": "OpenX",
                          "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
                       }
                   ],
                   "schedule": [
                       {
                          "zone": "5",
                          "position": "pre-roll",
                          "loadOnDemand": true
                       }
                   ]
               }
           }
       },
       height: 300,
       width: 450
});
</script>