Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Flowplayer and VastAdTagURI / Wrapper

5 replies [Last post]
Reply

Hi There,

I am new to flowplayer/ova and I ask these questions for one of our customers:

How can I make the flowplayer deliver a VAST-Redirect?

I have booked a campaign with Adtech IQ and the asset is a redirect which responds with a seperate XML.

Usually, in this case the first XML-response contains an element <VastAdTagURI>
which holds the actual URL to the actual VAST-Response. This second response needs to be combined with the first response. Also <MediaFiles> are only in the second response.

Right now we have a player which only iterates through the first response. So with redirects, there´s no ad shown due to the missing mediaFiles in the first response and the 3rd party trackings are also not fired..

What has to be added to the player/plugin to make this function available?

Thanks for reply!

Steve

Reply

Hi Steve,

OVA supports VAST wrappers both 1.0 and 2.0 - can I ask - what's the version number of the OVA for Flowplayer plugin that you are running?

For example, here's a set of use-cases that illustrates the VAST wrappers in action.

http://static.openvideoads.org/qa/latest/ova.flowplayer/examples/xml-wrapper/index.html

A couple of thoughts:

1. Are you able to provide the ad tag or a URL to a test page for me to see what's going on? That will help me identify the issue quickly for you

2. If that's not feasible and you want to provide that privately, email me on enquiries@openvideoads.org and I'll help out straight away.

I know of quite a few people using AdTech with wrappers so I'm confident that all will work here for you with the right setup...

Paul

Reply

hey paul,

thanks!!! I´ve just dropped you a mail with the URL to the player!

Cheers,
Steve

Reply

Hi, just got spammed again when creating new thread, so i'll just post it here as it's VAST related :)

I'm still new to this so i do apologize if there's anything I've explained naively here. Thank you in advance.

I'm basing my codes as the link
http://www.longtailvideo.com/support/open-video-ads/13054/direct-ova-configuration-guide on "One Ad Call Per Ad Slot"

The problem is i couldn't get the clip or the ad to even show. When i ran this code on html fiile, it just goes blank. I'm not sure whether this is an ova.swf issue which i've taken from
Forum: "OVA Flowplayer and OpenX" where i took the ova.swf link there as i haven't had the chance to build them myself properly.

Or whether this is a configuration issue code shown below. Greatly appreciate all the advice i can get.

<script type="text/javascript" src="http://player.longtailvideo.com/flowplayer/flowplayer-3.1.4.min.js"></script>
<div id="player1" style="width:360;height:240;"></div>
<script type="text/javascript">
flowplayer("player1",
  "http://www.bangkokinaday.com/flowplayer/flowplayer-3.2.7.swf", {
"plugins": {
"controls": {
"autoHide": "always"
},
"ova": {
"url": "http://static.openvideoads.org/qa/latest/ova.flowplayer/dist/swf/ova.swf",
"debug"{
"debugger": "firebug",
"levels": "fatal"
},
"shows": {
  "streams": [{
"file":"http://www.bangkokinaday.com/videos/JoelOrtiz.flv",
"duration":"00:00:30"
}]
},
"ads": {
"pauseOnClickthrough": true;
"schedule": [{
"position": "pre-roll",
"server": {
"type": "Direct",
"tag": "http://sg-admax.videoplaza.tv/proxy/distributor?shares=673ed65a-877a-4978-9f48-a3cb2c21e538&tt=PREROLL&accepts=vast&rnd={random}"
}  
}]
}
}

}
});
</script>

Ken

Reply

Hi Ken,

Here you go - a working version of your config...

<html>
<body>
<script type="text/javascript" src="http://player.longtailvideo.com/flowplayer/flowplayer-3.1.4.min.js"></script>
<div id="player1" style="width:360;height:240;"></div>
<script type="text/javascript">
flowplayer("player1", "http://www.bangkokinaday.com/flowplayer/flowplayer-3.2.7.swf", {
    "playlist": [
        {
            url: "http://www.bangkokinaday.com/videos/JoelOrtiz.flv",
            duration: 30
        }
    ],
"plugins": {
"controls": {
"autoHide": "always"
},
"ova": {
"url": "http://static.openvideoads.org/qa/latest/ova.flowplayer/dist/swf/ova.swf",
"debug": {
"levels": "fatal, config, vast_template"
},
"ads": {
"pauseOnClickthrough": true,
"schedule": [{
"position": "pre-roll",
"tag": "http://sg-admax.videoplaza.tv/proxy/distributor?shares=673ed65a-877a-4978-9f48-a3cb2c21e538__amp__tt=PREROLL__amp__accepts=vast__amp__rnd=__random-number__"
}]
}
}
}
});
</script>
<body>
</html>

There were a few things wrong with your config above:

1) Flowplayer is funny about having ampersands in the JSON config - so you need to replace the ampersands (&) with __amp__ in the ad tag

2) You had a missing colon after "ads" so I added that in

3) You had a semi-colon (;) instead of a comma (,) after one of the lines

4) It's best to use the standard Flowplayer playlist config approach rather than use the internal OVA "shows" option - it's perfectly fine to use, but it's preferred to use the standard player playlist approach to declaring your playlist so I changed that

This all runs. Let me know if I can help you further...

Paul

Reply

Thanks Paul!

This is awesome! Appreciate explaining them. Understood it.

Ken

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options