Pentru aplicatiile Metro in Windows 8, adaugarea de video la un view se face destul de simplu, utilizand componente precum MediaPlayer . <MediaPlayer x:Name="VideoMediaPlayer" AutoPlay="False" Loaded="VideoMediaPlayer_Loaded"/> ... private void VideoMediaPlayer_Loaded(object sender, RoutedEventArgs e) { MediaPlayer player = (MediaPlayer)sender; IRandomAccessStream videoStream = GetVideoStream(); player.SetSource(videoStream, "video/mp4"); } Binding-ul la source se poate face in diferite moduri. Nu are importanta cum il faceti. In schimb pe versiunea curenta de Windows 8 ( Consumer Preview) aplicatia voastra o sa crape uneori cand userul face play/stop sau schimba pagina curenta. Eroarea care se arunca are forme asemanatoare cu aceasta: Windows.UI.Xaml.UnhandledExceptionEventArgs Exception from HRESULT: 0xC00D3E85 Call to UIASendMessageTimeout failed Nu incercati sa faceti FIX la aceasta problema in codul vostru. Problema este un bug pe care
DREAMER, CRAFTER, TECHNOLOGY ENTHUSIAST, SPEAKER, TRAINER, AZURE MVP, SOLVING HARD BUSINESS PROBLEMS WITH CUTTING-EDGE TECHNOLOGY