Fazer uma PerguntaFazer uma Pergunta
 

PerguntaMediaelement duplicating the video

  • sábado, 7 de novembro de 2009 23:54ckchouk Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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 as Respostas

  • quarta-feira, 11 de novembro de 2009 8:53Bruce.ZhouMSFT, ModeratorMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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.