I'm playing a video with the WPF MediaElement and OnButton Click it opens a second window (I move it with Screens.AllScreens[1] to my second monitor). On second window I've created a new instance of 开发者_如何学编程mediaelement and put the value from mediaelement1.position to mediaelemnt2.position. Now I have a one second delay in my second window :(.
Is there a way to handle this?
Thanks for help
You can use a VisualBrush. Just send mediaElement to 2nd windows and apply VisualBrush. Sample : rect.Fill = new VisualBrush(mediaElement);
精彩评论