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

Forums

/

Ova with Wordpress plugin

7 replies [Last post]
Reply

Hi there,

I'm looking to integrate the OVA plugin with our 5.7 JW Player-licensed using the Wordpress plugin. Is there an easy way to make this work? I searched a thread from a few months ago which mentioned getting the wordpress.xml file. Though I couldn't seem to find the file mentioned.

Thanks in advance
Joe

Reply

Hi,

Yeh, the Wordpress module isn't officially supported at present, but I have worked up a simple module that you can add in to get OVA working with JW in Wordpress.

You can find the module on the OVA developer site (http://developer.longtailvideo.com/ova) - if you register on the site and then login, go to SVN Source repository, and browse down into "trunk/ova.wordpress"

Equally, you can check out the code with SVN - just follow the instructions on the site about connecting via SVN.

There aren't any setup instructions really, but here's a quick guide. I'll create a tutorial shortly:

Place "ova.xml" in your "wordpress/wp-content/plugins/jw-player-plugin-for-wordpress/plugins" directory. Once it's there you then "enable" the OVA plugin via the JW "plugins" configuration tabs in the JW wordpress plugin...

Once enabled, you'll be able to configure "OVA" for a player instance.

Just 1 configuration field is provided "ova.json" - it's a very rough and ready implementation - at the moment this field needs to be completed with a URL encoded version of the OVA json configuration.

So, for instance, to configure a pre-roll ad that is served by OpenX, the ova JSON config would be (it needs to all be on one line, no linebreaks etc.):

{ "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" } ] } }

and the URL encoded version that you would put into the field would be:

%7B%22debug%22%3A%7B%22debugger%22%3A%22firebug%22%2C%22levels%22%3A%22fatal%2Cconfig%2Cvast_template%22%7D%2C%22ads%22%3A%7B%22pauseOnClickThrough%22%3Atrue%2C%22servers%22%3A%5B%7B%22type%22%3A%22OpenX%22%2C%22apiAddress%22%3A%22http%3A%2F%2Fopenx.openvideoads.org%2Fopenx%2Fwww%2Fdelivery%2Ffc.php%22%7D%5D%2C%22schedule%22%3A%5B%7B%22zone%22%3A%225%22%2C%22position%22%3A%22pre-roll%22%7D%5D%7D%7D

The "ova.json" config approach is messy and trouble-some. If you want more info on that, look here:

http://www.longtailvideo.com/support/open-video-ads/ova-for-jw-player-5/13165/how-to-inject-ova-conf...

Sorry it's not easier to do this right now...

Paul

Reply

Paul,

I'm having troubles with the OVA plugin. I hope you can help.

System Config:
Wordpress 3.2.1
JW Player 5.7.1896 Commercial
OVA for 5.x

1) The ova.xml in the download looked nothing like the trial one you've recommended in other posts, namely it doesn't have the flashvar/flashvars attribute. It seemed important, so the ova file looks like this

<plugin>
<title>Open Video Ads</title>
<filename>ova.swf</filename>
<version>1.0</version>
<compatibility>Compatible with 5.x</compatibility>
<author>Paul Schulz</author>
<description>
The Open Video Ads (OVA) ad streamer for Longtail Video's JW Player
</description>
        <href>http://developer.longtailvideo.com/ova</href>
        <page>http://www.longtailvideo.com/open-video-ads</page>
        <flashvars>
                <flashvar type="field">
                        <name>json</name>
                        <default></default>
                        <description>
                             OVA JSON Configuration as per <a href="http://www.openvideoads.org/community">The OVA Configuration Guide</a>
                             (or try the <a href="http://www.openvideoads.org/wizard">OVA Wizard</a>)
                        </description>
                </flashvar>
        </flashvars>
</plugin>

2) The ova.xml is in the correct plugin directory, the plugin option is showing for the player instance, however it isn't remaining selected nor is it remembering my json data when I save the configuration. This is not true of other plugins (viral, etc.)

Reply

Hmmm....

So the thing is, I know very very little about Wordpress. I basically put together something simple for someone to use a year ago and that's subsequently been picked up a bit and used.

Looking at your ova.xml file, it looks right.

It also basically matches the version in the source repository @:

http://developer.longtailvideo.com/ova/browser/trunk/ova.wordpress/jwplayer/ova.xml

So I can't see anything obvious there.

Naively, it sounds a little bit like some type of filesystem permissions problem... are you seeing any errors come out in the PHP error logs etc. that may indicate if it's have a file save issue?

Right now, that's about all I can think of with limited knowledge on the wordpress side things...

Paul

Reply

Hi Guys,

I bought a license of OVA and tried to make it work on JW player 5 for Wordpress, but when I put the ova.xml in the plugins directory I get an error message on my page

http://www.ofive.tv/replay/closeto/hanni-el-khatib/

in my player.xml config I proceeded like this

<plugins>fbit-1,gapro-1,hd-1,tweetit-1,ova</plugins>

<ova.tag>http://ad.doubleclick.net/pfadx/advice.redirect/_default;video=ofive;sz=480x270;ord=?</ova.tag>

Need help please!

Thanks!

Reply

Hi,

Actually, if you do the setup via your "player.xml", your probably don't need the ova.xml file at all.. how about you guys remove "ova.xml"...

That "ova.xml" file really only exists to allow OVA to be configured through the Wordpress admin UI... which is not great anyway - much better to do it via the player xml file as per your approach above...

Paul

Reply

Actually, and the other thing I noticed in the Javascript console looking at your page.. is the following OVA debug:

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

The OVA config line <ova.tag> isn't being picked up because you need to grab the latest release from the OVA developer site (http://developer.longtailvideo.com/ova) - register on their and grab the OVA RC5 SWF from the "Download the Latest" page. The short-cut tags etc. aren't supported in the production version you are running via your config - so download the SWF and load that up onto your server and reference it in the "plugins" config.

Paul

Reply

Hi Yoann,

Just following up on this - did you manage to get everything working?

If you need more detailed help - please feel free to email me on enquiries@openvideoads.org and i'll get onto the case for you...

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