Example 3 - Invalid VAST XML with Autostart

This example tests what happens when a bad VAST response is returned. The ad schedule should be skipped and the main stream(s) played.

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 3 - Invalid VAST XML with Autostart
   </ova.title>
   <ova.json>
       {
            "debug": {
              "debugger": "firebug",
              "levels": "fatal, config, vast_template, vpaid, playlist, api, analytics, http_calls"
            },
            "ads": {
                "servers": [
                    {
                       "type": "direct",
                       "apiAddress": "../../../dist/templates/error-responses/bad-xml.xml"
                    }
                ],

                "schedule": [
                    {
                      "zone": "5",
                      "position": "pre-roll",
                      "applyToParts": [ 0 ]
                    },
                    {
                      "zone": "5",
                      "position": "post-roll"
                    }
                ]
            }       
       }
   </ova.json>
</config>