Creating Player Templates with BEML
Register  ·  Sign In  ·  Help
Jump to Page:   1
  Reply   Reply  

BEML Companion Ad Positioning
Options    Options  
MattD1023
New Member
Posts: 1
Registered: 11-06-2009


MattD1023

Message 1 of 3

Viewed 78 times


Hi,

 

I'm having trouble the placement of a 300x250 companion ad in a custom template.  I started with the compactTabbed.xml BEML and expanded the width of the player to 640px wide to make it widescreen. Everything works fine, except the companion ad seems to be stuck in the same position it was when the video player's width was 480px.  I tried tweaking all the widths to see if I can find out where it gets its x position value from, but nothing seems to affect it. Screen shot is attached.

 

Can someone explain to me how to position that companion ad? 

 

Thanks!


 

Attachment sshot.jpg (24 kb)

Kudos!
11-06-2009 03:13 PM
  Reply   Reply  

Re: BEML Companion Ad Positioning
Options    Options  
Moderator BC-Mikey
Moderator
Posts: 22
Registered: 12-09-2008


BC-Mikey

Message 2 of 3

Viewed 44 times


Hi Matt,

 

We've already touched base through Customer Support, but I thought this would be useful to answer in the Forum as well.

Here is an example of the <ExpandingBanner> tag that comes with our default Compact Tabbed Player looks like below:


<ExpandingBanner id="banner" expandedHeight="405" width="728" height="90" expandedWidth="299" buttonWidth="90" expandedOffsetY="-52" expandedOffsetX="458" disableOnExpand="playlistTabs,videoList" bannerFormats="2,6,20"/> 

 

If you would like to change the placement of the companion ad, you will want to change the values of the 'expandedOffsetX' and 'expandedOffsetY' parameters in your <ExpandingBanner> tag.

 

Thanks!


 

-Mikey

Kudos!
11-11-2009 05:58 PM
  Reply   Reply  

Re: BEML Companion Ad Positioning
Options    Options  
BC-JHuebner
Brightcove Team
Posts: 50
Registered: 01-26-2009


BC-JHuebner

Message 3 of 3

Viewed 38 times


The VAST for this would be:

 <Companion id="expanding_banner" width="0" height="0" expandedWidth="300" expandedHeight="250" resourceType="static" creativeType="application/x-shockwave-flash">
                                        <URL><![CDATA[http://ads.example.com/expandingBanner.jpg]]></URL>
                                        <CompanionClickThrough>
                                                <URL><![CDATA[http://www.example.com]]></URL>
                                        </CompanionClickThrough>
                                </Companion>

 

 

Kudos!
11-11-2009 07:31 PM
Jump to Page:   1