Example 12 - Adding parameters to tracking calls

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",
                          "impressions": {
                             "enable": true
                          },
                          "parameters": {
                             "ova_custom_1": "value1",
                             "ova_custom_2": "value2"
                          }
                      }
                   }
               },
               
               "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>