Example 6 - Declaring "transformers" to be applied to VAST responses

COMPANION AD APPEARS HERE

The configuration for this example is:


<script type="text/javascript">jwplayer("player_left").setup({
       flashplayer: "", 
       file: "http://streaming.openvideoads.org:81/shows/the-black-hole.mp4",
       plugins: {
           "../../../dist/swf/ova-jw.swf": 
                { 
                   "ads": {
                      "schedule": [
                         {
                            "position": "pre-roll",
                            "server": {
                                "tag": "http://adserver.adtech.de/?advideo/3.0...vidAS=pre_roll;vidRT=VAST_APVSCL;vidRTV=2.0.1",
                                "transformers": [ { "pattern": "myplaytype", "command": "g", "replace": "CTP" } ]
                            }
                         }
                      ]
                   },
                   "debug": {
                      "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
                   }
               }
       },
       height: 254,
       width: 320
});
</script>