Example 3 - Text Code

Loading the player ...

The configuration for this example is:

<style type="text/css">
.textAdContainer {
   width: 450px;
   height: 50px;
   background: #000000;
}
.textAdTitle {
   font-family: "sans-serif"; 
   font-size: 12pt; 
   font-style: bold; 
   color:#FAF8CC; 
   leading:5px;
}
.textAdDescription {
   font-family: "sans-serif"; 
   font-size: 10pt; 
   font-style: bold; 
   color:#FBB917;
}
.textAdCallToActionTitle {
   font-family: "sans-serif"; 
   font-size: 9pt; 
   leading:3px;
   color: #FFFFFF;
}
</style>

<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": {
                 "servers": [
                     {
                        "type": "OpenX",
                        "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php",
                        "allowAdRepetition": true
                     }
                 ],
                 "schedule": [
                     {   
                        "zone": "29",
                        "startTime": "00:00:03",
                        "duration": 10,
                        "overlay": { "html5": false },
                        "regions": {
                            "flash": false,
                            "html5": true
                        }
                     }
                 ]
              }
           }
       },
       height: 300,
       width: 450
});
</script>