Example 28 - Hard Coding the Player Width and Height

This example illustrates how to hard-code the player width and height that OVA uses.

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Hard coding the player width and height
   </ova.title>
   <ova.json>
       {
            "player": {
                "width": 450,
                "height": 250
            },

            "ads": {
                "servers": [
                    {
                        "type": "OpenX",
                        "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
                    }
                ],
                "schedule": [
                    {
                        "zone": "18",
                        "position": "pre-roll"
                    }
                ]
            },

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