Example 1 - A duration-less stream with a pre-roll that does not have a VAST duration

This example illustrates how to use the JW flashvar configuration to specify a show stream (without a duration specified) and have an OVA ad served against it. In this example a pre-roll ad is served and there is no duration set in the VAST response for the ad. The ad duration is determined from the stream metadata.

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 1 - A duration-less stream with a pre-roll that does not have a VAST duration
   </ova.title>
   <ova.json>
       {
          "debug": {
              "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
          },

          "ads": {
              "pauseOnClickThrough": true,
              "servers": [
                  {
                     "type": "Direct",
                     "apiAddress": "../../../../dist/templates/error-responses/vast1.0/zero-duration.xml"
                  }
              ],
              "schedule": [
                  {
                     "zone": "5",
                     "position": "pre-roll"
                  }
              ]
          }
       }
   </ova.json>
</config>