Video bottom position

Jan 30, 2010 at 8:25 PM

In order to display an ad banner on the video, i need to know the position of the bottom of the video because the black banners above and below the video haven't always the same size (depends on the size of the window).


Can you have a solution to get it ?


Best regards,


Feb 5, 2010 at 9:24 PM

Is this an overlay banner (displays on top of the video) or a simple banner that displays off of the video region?  I recommend modifying the Player template and putting your content within the first row of the Root Grid.  If you set your VerticalAlignment to Bottom it will always sit at the bottom of the video region.

Mar 4, 2010 at 9:26 AM



I solved this problem.

I created a custom control which is my banner with 2 visual states : Hidden or showed.

I create a custom class Marker with a start time and a end time.


And when the start or end time is reached, i hide or display my banner.