This is a migrated thread and some comments may be shown as answers.

Video Alignment

1 Answer 19 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Scott Laughton
Top achievements
Rank 1
Scott Laughton asked on 12 Mar 2009, 03:53 AM

Hi there,
        I have a video that is tall and narrow, lets say around 150w x 350h.  What I want to do is have the RadMediaPlayer display at 400w but display the video in it at 150w and aligned to the left.  I am then going to overlay a grid with a black bg and bring in dot points and images as the speaker in the video speaks.

I thought I would be able to achieve this with the following properties:

VideoWidth="150"

HorizontalContentAlignment="Left"


However when I apply these properties the video plays at the correct dimensions, but it is always centered.
I could make the player 150w I know, but then the player buttons do not show correctly.
Is it possible to play it the video at 150w, left aligned in the RadMediaPlayer that is 400w?

BTW:
Here is my setup:
 - RadControls for Silverlight 2008 3 1217
 - Microsoft Visual Studio 2008 Version 9.0.30729.1 SP
 - Microsoft .NET Framework Version 3.5 SP1
 - Windows XP Pro x64

Regards,

    Scott.

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Miroslav
Telerik team
answered on 17 Mar 2009, 08:42 AM
Hi Scott,

Sorry for the delayed reply!

Currently the ContentAlignment property only alters the visual look of the media item in the playlist and not the video itself.

This is not the first request for such property, so we will add it for the SP1 release of the controls, that will come roughly a month after the official release.

Regards,
Miroslav
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
MediaPlayer
Asked by
Scott Laughton
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Share this question
or