Example 6 - Using OVA with the SMIL plugin

The configuration for this example is:


flowplayer("a.example", "", {
    clip: {
        url: "", 
        provider: 'rtmp',

        // use smil and bwcheck when resolving the clip URL
        urlResolvers: [ 'smil', 'bwcheck' ]
    },	
    plugins: {
       smil: {
       	   url: ""
       },	
       bwcheck: {
          url: "",

          // HDDN uses Wowza servers
          serverType: 'wowza',

          // we use dynamic switching, the appropriate bitrate is switched on the fly
          dynamic: true,

          netConnectionUrl: 'rtmp://rtmp01.hddn.com/play',
       },
       // RTMP streaming plugin
       rtmp: {
            url: "",
            netConnectionUrl: 'rtmp://rtmp01.hddn.com/play'
       },       	
       ova: {
            url: "",

            "autoPlay": true, 
            
            "player": {
            	"setUrlResolversOnAdClips": false
            },

            "ads": {
              "servers": [
                   {
                      "type": "OpenX",
                      "apiAddress": ""
                   }
              ],
              "schedule": [
                  {
                    "zone": "5",
                    "position": "pre-roll"
                  },
                  {
                    "zone": "5",
                    "position": "mid-roll",
                    "startTime": "00:00:20"
                  },
                  {
                    "zone": "5",
                    "position": "post-roll"
                  }
              ]
            },

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