Ask a questionAsk a question
 

QuestionMediaelement duplicating the video

  • Saturday, November 07, 2009 11:54 PMckchouk Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I am trying to play a viedo in wpf and for some reason the video is being cut in half and duplicated.



      <EventTrigger RoutedEvent="FrameworkElement.Loaded">
       <BeginStoryboard Storyboard="{StaticResource TestKioskHelp_avi}"/>
      </EventTrigger>

    <Storyboard x:Key="TestKioskHelp_avi">
       <MediaTimeline BeginTime="00:00:00" Storyboard.TargetName="TestKioskHelp_avi" Source="TestKioskHelp.avi" d:DesignTimeNaturalDuration="36.166522"/>
      </Storyboard>

    <MediaElement HorizontalAlignment="Center" Margin="0,0,0,0" x:Name="TestKioskHelp_avi" Width="Auto" Stretch="Fill" Grid.Column="1" Grid.Row="1" VerticalAlignment="Center"/>

All Replies

  • Wednesday, November 11, 2009 8:53 AMBruce.ZhouMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi ckchouk,

    I am not sure if the content  or the screen of the vedio is cut in half. Would you please clarify?

    Anyway, when I was trying to reproduce this problem, I didnot have both of the problems. If you can provide more information, it would help me better to investigate the issue.


    Best regards,
    Bruce Zhou
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.