Example 27 - Configuring OVA via JSON with JW 5.6+

This example illustrates how to use the standard JSON configuration for OVA with JW 5.6 or greater (where nested JSON configuration is now permitted within plugin configurations)

Loading the player ...

The configuration for this example is:


<script type="text/javascript">jwplayer("container").setup({
       flashplayer: OVA_PLAYER_56_3, 
       playlist: [
           { file: "http://streaming.openvideoads.org:81/shows/the-black-hole.mp4" }
       ],
       plugins: {
           "../../../../dist/swf/ova-jw.swf": { 
              "allowPlaylistControl": true, 

              "debug": {
                  "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
              },

              "ads": {
                 "playOnce": false,
                 "servers": [
                     {
                        "type": "OpenX",
                        "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
                     }
                 ],
                 "schedule": [
                     {
                        "zone": "5",
                        "position": "pre-roll"
                     }
                 ]
              }
           }
       },
       height: 300,
       width: 450
});
</script>