Example 26 - Configuring a Playlist with Javascript Embed Code (JW 5.5 or less)

When a playlist is configured, either "ova.blockuntiloriginalplaylistloaded" must be set to true - this cannot be set in standard OVA configuration as it's not read in at the initialisation point in the OVA plugin.

Loading the player ...

The configuration for this example is:


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