Example 18 - Configuring OVA with the OVA 5.3 Embed Code

This example illustrates how to use configure OVA with the 5.3 Javascript embed code.

Loading the player ...

The configuration for this example is:


<script type="text/javascript">jwplayer("container").setup({
       flashplayer: OVA_PLAYER_3, 
       file: "http://streaming.openvideoads.org:81/shows/the-black-hole.mp4",
       plugins: {
           "../../../../dist/swf/ova-jw.swf" : {},
       },
       "ova.json": "{ \"debug\": { \"debugger\": \"firebug\", \"levels\": \"fatal, config, vast_template\" }, 
                      \"ads\": { \"pauseOnClickThrough\": true, \"servers\": [ { \"type\": \"OpenX\", 
                      \"apiAddress\": \"http://openx.openvideoads.org/openx/www/delivery/fc.php\" } ], 
                      \"schedule\": [ { \"zone\": \"5\", \"position\": \"pre-roll\" } ] } } }", 
       height: 300,
       width: 450
});
</script>