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

Forums

/

Overlay ads in bottom and controlbar = over

3 replies [Last post]

Another bug is overlay of ads and controlbar in the bottom of player.

Initial condition:
JW Player 5.1.897 (licensed), ova-trial plugin, Modieus (aka: Stylish) skin and OpenX Hosted (adserver.openx.org)

The part of JW-player config:

<config>
...
<controlbar>over</controlbar>
...
<ova.json>
      {
"blockUntilOriginalPlaylistLoaded": false,
         "ads": {
            "overlays": {
               "regions": [
                  {
                     "id": "bottom",
                     "verticalAlign": "bottom",
                     "horizontalAlign": "center",
                     "backgroundColor": "#000000",
                     "padding": "-10 -10 -10 -10",
                     "width": 450,
                     "height": 50
                  }
               ]
            },

            "servers": [
                {
                   "type": "OpenX",
                   "apiAddress": "http://d1.openx.org/fc.php"
                }
             ],
             "displayCompanions": false,
             "schedule": [
                    {
                      "zone": "123456",
                      "position": "bottom",
                      "width": 450,
                      "height": 50,
                      "startTime": "00:00:05",
                      "duration": "15"
                  }

             ]
         }
      }
</ova.json>
</config>

When the videoclip starts, controlbar hides and overlay ads shown.
But when we want to click in overlay ads and mouseover the player - controlbar shown again. In this moment we obtain overlay the ads and controlbar.

I think it should be considered.

Seemingly the issue here is that the overlays are being covered by the control bar as it pops back up? At the moment, OVA isn't being notified when the JW control bar appears. You are correct. That needs to be sorted.

With the OVA for Flowplayer version when the control bar re-appears the overlays are pushed up.

See here for an example:

http://www.longtailvideo.com/support/open-video-ads/ova-for-flowplayer/13513/illustrating-overlay-al...

If the OVA for JW behaviour was the same as this - would that solve your issue?

I've logged a ticket for this issue to track and resolve in hopefully the next release

The ticket (152) can be found here:

http://developer.longtailvideo.com/ova/ticket/152

Paul.

Yes, it would be nice!

Hi,

I've implemented a fix for the overlay/ad notice repositioning when the control bar shows/hides.

The fix is in the release candidate in the SVN repository on the OVA developer site (developer.longtailvideo.com/ova) - you can find the release candidate in packages/ova.jwplayer.5x/ova.jwplayer.5x-rc.tar.gz

The fix will go out in the next release early this coming week.

A new example has been included to illustrate the functionality. The configuration for this example (which includes a custom skin) is as follows:

<config>
   <ova.title>
       Example 5 - Test reposition of ad notice on hide of controls
   </ova.title>
   <ova.json>
       {
            "assessControlBarState": true,

            "debug": {
                "debugger": "firebug",
                "levels": "fatal, config, vast_template"
            },

            "overlays": {
                 "stagePaddingBottomWithControls": 35,
                 "stagePaddingBottomNoControls": 2
            },

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

The key properties to note in the configuration example are:

   ...
            "overlays": {
                 "stagePaddingBottomWithControls": 35,
                 "stagePaddingBottomNoControls": 2
            },
   ...

These allow the margins at the base of the player stage to be declared so that the overlays and ad notices can be correctly positioned on the y axis according to the width of the control bar skin that is active.

An addition tutorial entitled "Player skins, overlays, notices and the control bar" will be released this coming week as well to help illustrate how to correctly configure OVA to position Overlays with custom skin controls.

Hope this all helps,

Paul