Example 1 - Setting the maximum number of overlays that can display at once

Loading the player ...

The configuration for this example is:


<script type="text/javascript">jwplayer("container").setup({
       flashplayer: "", 
       file: "http://streaming.openvideoads.org:81/shows/the-black-hole.mp4",
       image: "http://static.openvideoads.org/shows/the-black-hole-thumbnail.png",
       duration: 40,
       'controlbar.position': 'bottom',
       plugins: {
           "../../../../dist/swf/ova-jw.swf": { 
              "debug": {
                  "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
              },

              "ads": {
                 "overlays": {
                    "regions": {
                       "html5": [
                           {
                              "enable": true,
                              "overlay": false
                           }
                       ]
                    }
                 },
                 "schedule": [
                    {   
                       "startTime": "00:00:03",
                       "duration": 10,
                       "maxDisplayCount": 1,                       
                       "tag": "../../../../dist/templates/overlays/vast2-multi-types.xml"
                    }
                 ]
              }
           }
       },
       height: 300,
       width: 450
});
</script>