Formular una preguntaFormular una pregunta
 

PreguntaMediaelement duplicating the video

  • sábado, 07 de noviembre de 2009 23:54ckchouk Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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"/>

Todas las respuestas

  • miércoles, 11 de noviembre de 2009 8:53Bruce.ZhouMSFT, ModeradorMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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.