Example 11-1 - Click Tracking - Overlay



The configuration for this example is:


flowplayer("a.example", "", {
    playlist: [
        {
            url: OVA_HTTP_SHOW_STREAM_1,
            duration: 30
        }
    ],

    plugins: {
        controls: {
            autoHide: "always"
        },

        ova: {
            url: "",

            "analytics": {
                "google": {
	                "custom": {
                        "accountId": "UA-10158120-1",
                        "clicks": {
                            "enable": true,
                            "linear": "/ova-example/clicks/linear",
                            "nonLinear": "/ova-example/clicks/nonLinear",
                            "vpaid": "/ova-example/clicks/vpaid"
                        }
                    }
                }
            },

            "debug": {
                "levels": ""
            },

            "ads": {
                "schedule": [
                    {
                       "startTime": "00:00:02",
                       "position": "auto:bottom",
                       "duration": "recommended:20",
                       "tag": "http://www.adotube.com/kernel/vast/vast.php?omlSource= 
                               __amp__videoURL=[VIDEO_FILE_URL]"
                    }
                ]
            }
        }
    }
});