The configuration for this example is:
function onVASTLoadTimeout(error) {
console.log("JAVASCRIPT CALLBACK: Ad call has timed out");
}
flowplayer("a.example", "", {
playlist: [
{
url: "",
scaling: "orig"
},
{
url: "",
duration: 20
}
],
plugins: {
controls: {
autoHide: "always"
},
ova: {
url: "",
"debug": {
"levels": ""
},
"ads": {
"pauseOnClickThrough": true,
"servers": [
{
"type": "Direct",
"apiAddress": "",
"timeoutInSeconds": 10,
"failoverServers": [
{
"type": "AdTech",
"tag": "",
"timeoutInSeconds": 5
}
]
}
],
"schedule": [
{
"zone": "5",
"position": "pre-roll"
}
]
}
}
}
});