Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

Video Size and Jump to Position in Movie RSS

0 replies

Last post Jul 10, 2009 01:57 PM by cbkernow

(0)
  • cbkernow

    cbkernow

    0 Points

    5 Posts

    Video Size and Jump to Position in Movie

    Jul 10, 2009 01:57 PM | LINK

     hello all I'm building a web app that uses streaming video from our server but am having a couple of troubles.....

     

    1) Video size, Silverlight controls in .net give me the options to specify a size eg 640x480 or to have it stretched to fit the screen, but I want to view the video in its original size, how can I achieve this? If I don't set any size it plays very small, much smaller than the original video size.

     

    2)The timeline bar at the bottom of the video, when I view the video directly on the server, through Windows Media Player, I have the ability to skip through the video file and jump to wherever I wan t to in the video.  But when palying through the silverlight, I seem to have lost this??

     <"MediaPlayer1" runat="server" Height="480px" Width="640px" AutoLoad="true" AutoPlay="true" MediaSkinSource="~/Simple.xaml" ScaleMode="none" Windowless="True" >

    (the media source is set dynamically from the code behind)

    Is this a skin problem?

     

    hope someone can help, thanks