LongTail Video is now JW Player - New Name, Same Passion For Video

Close

Open Video Ads Forums

CATEGORY:

/

Open Video ADS Error

1 reply [Last post]

Hi,

open to a kind of video ads do not work.

Could you tell me where the mistake was doing?

html>
<head>
<title>Wow! This is video</title>
<script src="http://komik.vidyotvapp.com/v1_js/flowplayer-3.2.6.min.js"></script>
</head>
<body>

<a
href="http://static.vidyotv.com/u/videos/29/b6af30f1d1457805ad2232cedfdecb1f.flv"
style="display:block;width:425px;height:300px;"
id="player">
</a>

<script language="JavaScript">
flowplayer("player", "http://komik.vidyotvapp.com/v1_js/flowplayer.commercial-3.2.7.swf"
{
key: "#****************",

       plugins: {
        ova: {
            url: "http://komik.vidyotvapp.com.com/v1_js/ova.swf",
           
            "autoPlay": true,
           
            "ads": {
                "playOnce": false,
                "servers": [
                     {
                        "type": "OpenX",
                        "apiAddress": "http://ads.facelab.net/www/delivery/fc.php"
                     }
                ],
                "schedule": [
                     {
                        "zone": "1",
                        "position": "pre-roll"
                     }
                ]
            }
        }

   },

});

</script>
</body>
</html>

Hi,

There are several things wrong with your setup:

1. Remove the

tags in your page - not sure what they are doing in your HTML markup

2. You are missing a "," after the Flowplayer SWF in the player setup code - e.g. it should be:

<code>
flowplayer("player", "http://komik.vidyotvapp.com/v1_js/flowplayer.commercial-3.2.7.swf", {

3. You have an extra "," at the end of the setup code that should be removed - e.g. the final 3 lines should be:

        }
   }
});

4. Finally, I can't seem to execute against your setup since your "crossdomain.xml" file doesn't seem to be setup. But trying your setup locally with my own versions, the ad server call results in a security exception:

10:25:25 GMT+0100 VideoAdServingTemplate: Load error: [SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048: Security sandbox violation: http://static.openvideoads.org/qa/rc3-20/ova.flowplayer/dist/swf/ova.swf cannot load data from http://ads.facelab.net/www/delivery/fc.php?script=bannerTypeHtml:vastInlineBannerTypeHtml:vastInlineHtml&zones=pre-roll0-0%3D1&nz=1&source=&r=R0.2641339898109436&block=1&format=vast&charset=UTF-8."]

My guess is that there the crossdomain.xml on the address http://ads.facelab.net/ is also either very restrictive or not setup either.

Paul

Still don't have the new JW Player? Get It Here