unindel / open-video-ads

Automatically exported from code.google.com/p/open-video-ads
0 stars 0 forks source link

Ampersand in the ad server URL cause JSON parsing problems for Flowplayer #215

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following config breaks Flowplayer JSON parsing:

            "ads": {
                "schedule": [
                    {
                        "zone": "46",
                        "position": "pre-roll",
                        "server" : {
                            "type": "direct",
                            "apiAddress": 
"http://twc.rotator.hadj7.adjuggler.net/servlet/ajrotator/31536/0/vx?
z=twc&kw=&click=&vast2=y"
                        }
                    }
                ]
            },

Original issue reported on code.google.com by paul.sch...@gmail.com on 24 Apr 2010 at 7:29

GoogleCodeExporter commented 9 years ago
Fixed - ampersands can now be replaced with __amp__ - e.g.

                            "apiAddress": "http://twc.rotator.hadj7.adjuggler.net/servlet/ajrotator/31536/0/vx?
z=twc__amp__kw=__amp__click=__amp__vast2=y"

Original comment by paul.sch...@gmail.com on 24 Apr 2010 at 7:30