Example 09 - Turning Off Overlay Replay

This example illustrates how to turn off the replay of overlay ads via the "replayNonLinearAds" option if the user skips back in the stream to a point where an overlay is to be played.

A COMPANION ADVERTISEMENT WILL APPEAR IN HERE

The configuration for this example is:


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

        ova: {
            "url": "",

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

            "ads": {
                "servers": [
                     {
                        "type": "OpenX",
                        "apiAddress": ""
                    }
                ],
                "replayNonLinearAds": false, 
                "companions": [
                    { "id":"companion", "width":"150", "height":"360" }
                ],
                "schedule": [
                    {
                        "zone": "28",
                        "width": 450,
                        "height": 50,
                        "startTime": "00:00:05",
                        "duration": "10"
                    },
                    {
                        "zone": "41",
                        "width": 450,
                        "height": 50,
                        "startTime": "00:00:20",
                        "duration": "10"
                    }
                ],
            },

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