This example illustrates how to use the Javascript callback API to obtain the raw VAST response data. The data can be obtained via the onTemplateLoadSuccess(templateData) callback API or the getVASTResponseAsString() OVA Javascript API.
The configuration for this example is:
flowplayer("a.example", "", {
plugins: {
controls: {
autoHide: "always"
},
ova: {
url: "",
"debug": {
"levels": ""
},
"ads": {
"pauseOnClickThrough": true,
"servers": [
{
"type": "OpenX",
"apiAddress": ""
}
],
"schedule": [
{
"zone": "5",
"position": "pre-roll"
}
]
}
}
}
});