Example 3 - Restricting based on ad type per ad slot and display mode

The configuration for this example is:


flowplayer("a.example", { src: "", wmode: "opaque" }, {
    playlist: [
       {
           url: "",
           duration: 40
       }
    ],
    plugins: {
        controls: {
            autoHide: "always"
        },

        ova: {
            url: "",

            "ads": {
                "schedule": [
                    {     
                       "startTime": "00:00:03",
                       "duration": 10,
                       "regions": {
                          "flash": [
                              {
                                 "acceptedMimeTypes": [ "image/gif", "image/jpg" ]
                              }
                          ],
                          "html5": [
                              {
                                 "enable": true,
                                 "overlay": false,
                                 "acceptedMimeTypes": [ "image/png" ]
                              }
                          ]
                      },
                      "tag": "../../../dist/templates/overlays/vast2-multi-types.xml"
                    }
                ]
            },

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