Example 2 - A pre-roll on a show stream with a start time and duration

A pre-roll is played before a show stream that starts 15 seconds in and runs for 30 seconds.

The configuration for this example is:


flowplayer("a.example", "", {
    plugins: {
        controls: {
            autoHide: "always"
        },

        pseudo: {
            url: ""
        },
        pseudoInstream: {
            url: ""
        },

        ova: {
            url: "",

            "providers": {
                "http": "pseudo"
            },

            "shows": {
                 "streams": [
                      {
                          "file": "",
                          "startTime":"00:00:35",
                          "duration":"00:00:15"
                      }
                 ]
            },

            "ads": {
                 "servers": [
                     {
                           "type": "OpenX",
                           "apiAddress": ""
                     }
                 ],
                 "schedule": [
                      {
                           "zone": "5",
                           "position": "pre-roll"
                      }
                  ],
              },

              "debug": {
                  "levels": ""
              }
         }
    }
});