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

Forums

/

How to setup OVA?

11 replies [Last post]
Reply

Hi all

I want to test OVA on JWplayer 5.8 but have problem and cannot run. Can anyone help me? Tks!

Here is my player javascript code

<script type="text/javascript">
jwplayer("mediaplayer").setup({
provider: 'http',
file: encodeURI("http://abc.com/demo/test2.mp4"),
image: "http://abc.com/demo/test2.jpg",
flashplayer: "http://abc.com/player/jwplayer/player.swf",
width: 454,
height: 254,
skin: "http://abc.com/player/jwplayer/skin/glow.zip",
stretching: "uniform",
autostart: "true",
autopreloading: "true",
bufferlength: 10,
plugins: {
"ova":{
config: "http://abc.com/player/jwplayer/ads/ova01.xml"
},
modes: [
{ type: "html5",
config: {skin: http://abc.com/player/jwplayer/skin/glow/glow.xml"}
},
{ type: "flash", src: "http://abc.com/player/jwplayer/player.swf" }
]

});
</script>

Here is ova01.xml config(Copy from OVA example page)

<config>
<ova.title>
Example 1 (HTTP) - A pre-roll ad only
</ova.title>
<ova.json>
{
"debug": {
"debugger": "firebug",
"levels": "fatal, config, vast_template"
},

"ads": {
"pauseOnClickThrough": true,
"servers": [
{
"type": "OpenX",
"apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
}
],
"schedule": [
{
"zone": "5",
"position": "pre-roll"
}
]
}
}
</ova.json>
</config>

Reply

Hi,

Ok, let's clean up the config first... is there any particular reason why you are using an external config file.. you are better doing this:

<script type="text/javascript">
jwplayer("mediaplayer").setup({
     ...
     plugins: {
        "/path/to/your/ova/ova.swf": {
                "ads" {
                     "schedule": [
                           ....
                     ]
                }
         }
     }
});

That's the first thing.

The second thing is that you can't use the plugin name "ova" with JW 5.8 JW Embedder based setups yet. Doing so results in the plugin loading from the Longtail repository and the version that is on there does not work work with JW 5.8 Embedder this way.

You need to grab the OVA RC5 or RC6 (development) SWF from the OVA developer site and reference that locally on your setup. To get the SWF, go to http://developer.longtailvideo.com/ova - register on the site and then grab the SWF from the "Download the Latest" page.

Then, when you reference the SWF in your setup, go:

plugins:
   "/your/local/path/to/ova.swf": {
   }

To load up the version that you've installed.

Paul

Reply

Can't work :(
It's that any wrong on plugin setting?

plugins: {
"/home/ext/movie/player/jwplayer/swf/ova.swf": {
"ads": {
//"pauseOnClickThrough": true,
"servers": [
{
"type": "OpenX",
"apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
}
],
"schedule": [
{
"zone": "47",
"position": "pre-roll"
}
]
}
}
}

Reply

Hi - do you have a URL to the page so that I can see this running?

It's a bit impossible to tell from the limited post.

Paul

Reply
Reply

The first thing seems to be that the OVA SWF can't be found... It's reporting a 404 error trying to load:

http://vod.hkheadline.com/home/ext/movie/player/jwplayer/swf/ova.swf

Are you sure that you've loaded it to that location?

Paul

Reply

The web path is here
http://vod.hkheadline.com/player/jwplayer/swf/ova.swf

The server local path is here
/home/ext/movie/player/jwplayer/swf/ova.swf

Then what path I need to use?

Reply

I change it to

plugins: {
"/player/jwplayer/swf/ova.swf": {
"ads": {

Is it right?

Reply

ok, it's loading the SWF, but that SWF is not RC5 or RC6 from the OVA developer site.

If you look at the browser Javascript console, you'll see this debug printed:

10:47:54 GMT+0000: OVA for JW 5.x - v0.4.4 (build 76)
10:47:54 GMT+0000: No OVA configuration provided - ad streamer will not be capable of playing any ads

You need to make sure you've loaded up RC5 or RC6 from the OVA developer site...

Paul

Reply

Hi Paul

I go to use RC6 and work now. Big tks for your help!
One more thing, RC6 ready for HTML 5?

Tks
Hanky

Reply

for example iphone / ipad support?

Reply

Unfortunately, not ready yet... but close - Christmas is getting in the way.

If you haven't signed up for the Alpha programme yet, drop me an email on enquiries@openvideoads.org and you'll get an update very shortly ;)

Paul

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