Example 11 - Filtering Accepted Non-Linear Ad Mime Types

The configuration for this example is:


flowplayer("a.example", "", {
    playlist: [
        {
            url: OVA_HTTP_SHOW_STREAM_1,
            duration: 20
        }
   ],

   plugins: {
        controls: {
            autoHide: "always"
        },

        ova: {
            url: "",

            "ads": {
                "acceptedNonLinearAdMimeTypes": [ "image/gif", "image/jpg", "image/png"  ],
                "filterOnNonLinearAdMimeTypes": true,
                "servers": [
                    {
                       "type": "OpenX",
                       "apiAddress": ""
                    }
                ],
                "schedule": [
                    {
                       "zone": "28",
                       "startTime": "00:00:03",
                       "position": "auto:bottom",
                       "duration": "recommended:10"
                    }
                ]
            },

            "debug": {
                "levels": ""
            }
        }
    }
});