Poser une questionPoser une question
 

QuestionMediaelement duplicating the video

  • samedi 7 novembre 2009 23:54ckchouk Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    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"/>

Toutes les réponses

  • mercredi 11 novembre 2009 08:53Bruce.ZhouMSFT, ModérateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    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.