Example 7 - Using OVA with an Audio Stream

This example illustrates how to play a pre-roll before an audio stream and overlays over the stream.

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Using OVA with an Audio Stream
   </ova.title>
   <ova.json>
       {
            "autoPlay": false,
            "regions": {
                "declarations": [
                    {
                        "id": "bottom",
                        "verticalAlign": "bottom",
                        "horizontalAlign": "center",
                        "backgroundColor": "#000000",
                        "padding": "-10 -10 -10 -10",
                        "width": 450,
                        "height": 50
                    }
                ]
            },

            "ads": {
                "servers": [
                    {
                        "type": "OpenX",
                        "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
                    }
                ],
                "notice": { "textStyle": "smalltext" },
                "schedule": [
                    {
                        "zone": "18",
                        "position": "pre-roll"
                    },
                    {
                        "zone": "33",
                        "position": "bottom",
                        "width": 450,
                        "height": 50,
                        "startTime": "00:00:05",
                        "duration": "15"
                    }
                ]
            },

            "debug": {
               "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
            }
        }
   </ova.json>
</config>