Example 1.10 - VPAID pre-roll and post-rolls with 2 show streams


The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 1.9 - VPAID post-roll
   </ova.title>
   <ova.json>
       {
          "debug": {
              "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
          },

          "shows": {
              "baseURL": "http://streaming.openvideoads.org/shows",
              "streams": [
                  {
                      "file": "the-black-hole.mp4",
                      "duration":"00:00:10"
                  },
                  {
                      "file": "the-black-hole.mp4",
                      "duration":"00:00:11"
                  }
              ]
          },

          "player": {
             "controls": {
                 "vpaid": { "visible": false }
             }
          },

          "ads": {
              "schedule": [
                 {
                     "position": "pre-roll",
                     "tag": "http://www.adotube.com/kernel/vast/vast.php?omlSource=
                            http://www.adotube.com/php/services/player/OMLService.php?
                            avpid=UDKjuff__amp__ad_type=pre-rolls__amp__platform_version=
                            vast20as3__amp__vpaid=1__amp__rtb=0__amp__publisher=adotube.com
                            __amp__title=[VIDEO_TITLE]__amp__tags=[VIDEO_TAGS]__amp__
                            description=[VIDEO_DESCRIPTION]__amp__videoURL=[VIDEO_FILE_URL]"
                 },
                 {
                     "position": "post-roll",
                     "tag": "http://www.adotube.com/kernel/vast/vast.php?omlSource=
                             http://www.adotube.com/php/services/player/OMLService.php?
                             avpid=UDKjuff__amp__ad_type=pre-rolls__amp__platform_version=
                             vast20as3__amp__vpaid=1__amp__rtb=0__amp__publisher=adotube.com
                             __amp__title=[VIDEO_TITLE]__amp__tags=[VIDEO_TAGS]__amp__
                             description=[VIDEO_DESCRIPTION]__amp__videoURL=[VIDEO_FILE_URL]"
                 }
              ]
          }
       }
   </ova.json>
</config>