Example 4 - Minimal setup with the 5.4 Embed Code

This example illustrates how to use configure OVA with the 5.4 Javascript embed code (note: JW 5.4 is required for this example as it resolves a bug around passing in the config to locally declared plugin SWFs).

COMPANION AD APPEARS HERE

The configuration for this example is:


<script type="text/javascript">jwplayer("player_left").setup({
       flashplayer: OVA_PLAYER_2, 
       file: "http://streaming.openvideoads.org:81/shows/the-black-hole.mp4",
       plugins: {
           "../../../dist/swf/ova-jw.swf": 
                { 
                  tag: "http://u-ads.adap.tv/a/h/fy8HuCqcy0y5CmMetFZUPVRg8BYfUdag9T3gJOflx7IRS2LqU9Qh0Q==?
                        cb=15783059__amp__spot=preroll__amp__eov=eov__amp__artEid=vast_2_0__amp__ocb=9035
                        __amp__rid=test__amp__pageUrl=http%3A%2F%2Fwww.adap.tv__amp__gubed" 
                }
       },
       height: 254,
       width: 320
});
</script>