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

Forums

/

JW With OVA embedder code queries

4 replies [Last post]
Reply

Hello!

I am using a licensed version of JW 5.8 player! I am trying to test implement the OVA plugin with embedder code but unfortunately only the video plays skipping the Ad. I have given my code below:

jwplayer("container").setup({
file: 'http://localhost:5074/Web/test.flv',
flashplayer: "Includes/Swf/TestPlayer.swf",
width: 700,
height: 500,
stretching: "uniform",
autostart: "true",
plugins: {
"ova-trial": {
"ads": {
"servers": [
{
"type": "OpenX",
"apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
}
],
"notice": { "textStyle": "smalltext" },
"displayCompanions": true,
"companions": [
{
"id":"companion",
"width":"200",
"height":"240"
}
],
"schedule": [
{
"zone": "47",
"position": "pre-roll"
},
{
"zone": "48",
"position": "auto:bottom",
"width": 320,
"height": 80,
"startTime": "00:00:02",
"duration": "15"
}
]
}
}
}

});

Please Help!!

Reply

Hi,

Unfortunately you can't currently use the "ova-trial" plugin (which is loaded from the Longtail repository with the JW Embedder.

To run with the JW Embedder, grab the latest OVA Release Candidate from the OVA developer site (http://developer.longtailvideo.com/ova), load it up on your server and then reference it using a relative path.

To grab the release candidate, register on the site and then grab RC5 or the latest development version (RC6) from the "Download the Latest" page.

Here's an example of it working:

http://static.openvideoads.org/qa/rc6-13/ova.jwplayer.5x/examples/pages/setup/jw-embedder.html

Note; If you use RC6, the OVA SWF is now called "ova-jw.swf"

Hope this helps,

Paul

Reply

Thanks Paul!!

Works like a charm!

Can you please let me know how to reference an external config file instead of inline plugin configuration in the embedder code?

Thanks in advance!!

Reply

Hi.. hmm.. that's actually a really good question - I don't know for certain.. I may have to ask the Player guys... but at a guess, I'm wondering if the following approach works? Can you let me know if it does?

jwplayer("container").setup({
    ...
    config: "/your/config/file.xml",
    plugins: {
        "/path/to/your/ova-jw.swf": {
                // no config in here - it's pulled from the external config file
        }
    }
});

?

Paul

Reply

Wonderful! It is perfect!!

Thanks a million!

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