This example illustrates how to directly feed the OVA configuration into the ad streamer via the "openvideoads.json" flashvar rather than the use of external configuration files. Note that you need to URL encode the json string contents.
The configuration for this example is:
<embed
id="ply"
src=""
width="450"
height="300"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="plugins=&
playlist=none&
repeat=list&
autostart=false&
dock=true&
frontcolor=000000&
title=Big%20Buck%20Bunny%20Trailer&
image=http://content.bitsontherun.com/thumbs/nPripu9l-480.jpg&
stretching=uniform&
ping.script=http://content.bitsontherun.com/pings/&
lightcolor=000000&
controlbar=over&
displayclick=play&
backcolor=ffffff&
file=http://content.bitsontherun.com/jwp/nPripu9l.xml&
playlistsize=200&
skin=http://content.bitsontherun.com/skins/VFgGj89b.swf&
file=http://content.bitsontherun.com/jwp/nPripu9l.xml&
ova.json={"blockUntilOriginalPlaylistLoaded":true,
autoPlay":false,"overlays":{"
stagePaddingBottomWithControls":5,"
regions":[{"id":"bottom","
verticalAlign":"bottom","
horizontalAlign":"center","
backgroundColor":"#000000","
padding":"-10-10-10-10","
width":450,"height":50}]},"
ads":{"servers":[{"type":"
OpenX","apiAddress":"http://
openx.openvideoads.org/openx/www/delivery/
fc.php"}],"notice":{"
"textStyle":"smalltext","type":
"countdown"},"schedule":[{
"zone":"18","position":
"pre-roll"},{"zone":"30",
"position":"bottom","width":450,
"height":50,"startTime":"00:00:05",
"duration":"15"}]},
"debug":{"debugger":
"firebug","levels":"fatal"}}"
/>