Example 1 - Empty VAST Response

This example tests what happens when an empty VAST template 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": ""
            },

            "autoPlay": true,       

            "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"
                    }
                ]
             }
         }
     }
});