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

Forums

/

Companion ads and "wmode - transparent"

7 replies [Last post]
Reply

Hi,

How do I add the 'wmode' parameter to the object and embed tags using the ova configuration?

Using the ova javascript api 'onCompanionAdShow()', I was able to add the parameters to the object/embed tags but the parameters don't take effect in firefox. However it does work for chrome.

Reply

Interesting...

So there isn't a way to get OVA to do it, but I could add that feature somehow (via config)..

I'm intrigued though about the Firefox issue.

I'd imagine it's because OVA will already have inserted the object into the page by the time that call is made, so your overriding it may not be having any effect.

Are you getting OVA to insert the companions using the AS3 insertion or the Javascript (JQuery) based insertion?

One thing may be for you to use the JQuery based insertion and modify the ova-jquery-companions.js Javascript/JQuery code to do the manipulation on the embed code before it's actually inserted into the page....

Sound feasible?

If you need a config variable added to get OVA to add the wmode I can do that as well...

Paul

Reply

Thanks Paul,

I was using the AS3 insertion method.
I'll try the JQuery based insertion and modifying it.

However, in the future if wmode can be added in OVA then that'll be great!

Thanks again,

Kevin

Reply

Ok - understand - I'll have a go at getting something into a build this week for you :)

Paul

Reply

Hi,

Just following up on this issue.

I've added a new config option to allow additional object/embed tag parameters to be added when the SWF companion tagset is generated.

The option is called 'additionalParamsForSWFCompanions' and it takes an array of name/value pair objects.

So to add a "wmode=transparent" setting, you use the following config:

{
     "ads": {
          "companions": [
                { "id":"companion", "width":"300", "height":"250", "index": 1 }
          ],
          "additionalParamsForSWFCompanions": [
                { "name": "wmode", value: "transparent" }
          ],
          "schedule": [
              ...
          ],
          ...
     },
     ...
}

You can see an example of this running here:

http://static.openvideoads.org/qa/rc3-18/ova.jwplayer.5x/examples/pages/companions/example11.html

This has been implemented for OVA for Flowplayer, JW4, JW4 and AS3.

The build numbers with this functionality in it are:

OVA for AS3 v0.6.0 RC3 (build 140)
OVA for JW 5.x - v0.5.0 RC3 (build 162)
OVA for JW 4.x - v0.5.0 RC3 (build 97)
OVA for Flowplayer - v0.6.0 RC3 (build 161)

These versions have been checked into the OVA developer site (http://developer.longtailvideo.com/ova and can be accessed as the latest development build from the Latest Releases page).

The release note is here:

http://developer.longtailvideo.com/ova/wiki/OvaRCNotes-011211-3#additionalParamsForSWFCompanions

Hope this helps - let me know if there are any problems at all ;)

Paul

Reply

Awesome! Thanks Paul

I'll let you know if I have any problems. Much appreciated.

Kevin

Reply

I am displaying jquery popup above the video but when i scroll down or up my popup visibility goes false wome is already to transparent don't know what to do

Reply

Hi, any chance I could see a URL to look at this happening? It'll help identify a possible solution...

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