Example 7-1 - Template Load Tracking (Wrapped Tags)

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: 10,
       '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",
                           "template": {
                               "enable": true,
                               "loaded": "/ova-example/templates/loaded",
                               "error": "/ova-example/templates/error",
                               "timeout": "/ova-example/templates/timeout",
                               "deferred": "/ova-example/templates/deferred"
                           }
                       }
                   }
               },
               
               "ads": {
                   "schedule": [
                       {
                          "position": "pre-roll",
                          "server": {
                              "type": "direct",
                              "tag": "../../../dist/templates/wrapper/vast2-wrapper-to-vast2-wrapper-vast1-ad.xml",
                          }
                       }
                   ]
               }
           }
       },
       height: 300,
       width: 450
});
</script>