Example 2 - Bad VAST Response

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:


flowplayer("a.example", "", {
    plugins: {
        controls: {
            autoHide: "always"
        },

        ova: {
            url: "",

            "debug": {
                "levels": ""
            },

            "shows": {
                "baseURL": "",
                "streams": [
                    { "file":"", "duration":"00:01:00" },
                    { "file":"", "duration":"00:01:00" }
                ]
            },

            "ads": {
                "servers": [
                    {
                       "type": "direct",
                       "apiAddress": ""
                    }
                ],

                "schedule": [
                    {
                       "zone": "5",
                       "position": "pre-roll",
                       "applyToParts": [ 0 ]
                    },
                    {
                       "zone": "5",
                       "position": "post-roll"
                    }
                ]
           }
     }
});