I'm working with JW Player and implementing an advertising plugin from
OpenX AdServer and need some advice on how to implement flashvars
without the need of an external XML file.
The problem is, the external XML file that is needed to make it all
work has nested variables in it:
<config>
<openadstreamer.title>
HTTP Example 02a - No Playlist Control
</openadstreamer.title>
<openadstreamer.json>
{
"deliveryType": "progressive",
"allowPlaylistControl": false,
"shows": {
"streams": [
{
"file":"http://streaming.openvideoads.org:81/
shows/the-black-hole.mp4",
"duration":"00:00:30"
}
]
},
"debug": {
"debugger": "firebug",
"levels": "fatal",
},
"ads": {
"playOnce": false,
"notice": { "textStyle": "smalltext" },
"server": {
"type": "OpenX",
"vastURL": "http://openx.openvideoads.org/openx/www/
delivery/fc.php"
},
"schedule": [
{
"zone": "18",
"position": "pre-roll"
}
]
}
}
</openadstreamer.json>
</config>
Somehow I need to figure out how to send the information pasted above
to my JW Player via SWFObject.
But from what I understand, you cannot pass complex flashvars into
SWFObject, is that correct?
I really don't want to have an external XML file that I point to,
since this will all be dynamic and non-caching.
Does anyone have any advice on how I go about passing the above
information into SWFObject via flashvars?
Thanks for any help or guidance.
--
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en.