Example 15-1 - Invalid ad stream URL - Playlist mode

Loading the player ...

The configuration for this example is:


<script type="text/javascript">
jwplayer("container").setup({
       flashplayer: "", 

       playlist: [
          { 
              file: "http://streaming.openvideoads.org/shows/the-black-hole.mp4",
              duration: 15 
          },
          { 
              file: "http://streaming.openvideoads.org/shows/bbb-640x360.mp4",
              duration: 16
          }
       ],

       width: 650,
       height: 240,

       controlbar: "bottom",

       plugins: {
           "../../../dist/swf/ova-jw.swf": { 
                "allowPlaylistControl": true,
                "debug": { "levels": "fatal, config, vast_template, playlist" },
                "ads": {
                    "schedule": [
                        {
                            "position": "pre-roll",
                            "tag": "../../../dist/templates/error-responses/vast1.0/bad-stream-url.xml"
                        }
                    ]
                }
           }
       }
});
}
</script>