Example 9-1 - Hard coding the (skinned) controlbar height with JW Embedder

Loading the player ...

The configuration for this example is:


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

       playlist: [
           { file: "http://streaming.openvideoads.org:81/shows/the-black-hole.mp4", duration: 10 }
       ],

       skin: 'http://static.openvideoads.org/downloads/skins/lulu.zip',
       'controlbar.position':'over',

       plugins: {
           "../../../dist/swf/ova-jw.swf": { 
               "delayAdRequestUntilPlay": true,

               "debug": { 
                   "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api" 
               },
               
               "ads": {
                   "controls": {
                      "height": 50
                   },
                   "holdingClipUrl": "http://static.openvideoads.org/ads/blank/blank.flv",
                   "schedule": [
                       {
                          "position": "pre-roll",
                          "loadOnDemand": true,
                          "tag": "http://openx.openvideoads.org/openx/www/delivery/fc.php?
                                  script=bannerTypeHtml:vastInlineBannerTypeHtml:vastInlineHtml&
                                  zones=pre-roll0-0%3D5&nz=1&source=&r=R0.8062691302038729&
                                  block=1&format=vast&charset=UTF-8"
                       }
                   ]
               }
           } 
       },
       height: 300,
       width: 450
});
</script>