Example 2 - An overlay ad

5 seconds into the show stream an overlay appears for 15 seconds.




COMPANION GOES HERE

The configuration for this example is:


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

        ova: {
            url: "",

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

            "regions": {
              "declarations": [
                 {
                    "id": "bottom",
                    "verticalAlign": "bottom",
                    "horizontalAlign": "center",
                    "padding": "-10 -10 -10 -10",
                    "width": 468,
                    "height": 60
                 }
              ]
            },

            "ads": {
              "companions": {
                  "restore": false,
                  "regions": [
                       { "id":"right-companion", "width":"300", "height":"250" }
                  ]
              },
              "servers": [
                   {
                      "type": "OpenX",
                      "apiAddress": "",
                   }
              ],
              "schedule": [
                  {
                      "zone": "1567",
                      "position": "bottom",
                      "width": 468,
                      "height": 60,
                      "startTime": "00:00:05",
                      "duration": "15"
                  }
              ],
            },

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