Example 11 - Filtering Accepted Linear Ad Mime Types

The configuration for this example is:


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

        ova: {
            url: "",

            "ads": {
                "acceptedLinearAdMimeTypes": [ "video/x-flv" ],
                "filterOnLinearAdMimeTypes": true,
                "schedule": [
                    {
                        "position": "pre-roll",
                        "tag": "http://api.atdmt.com/adserv.api/viewad/sa=115571748;
                                sf=VAST20_PreRoll_XML_alpha;pf=FLV;br=500;strm=0"
                    }
                ]
            },

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