Click here to Skip to main content
13,197,200 members (58,896 online)

Media Element (WPF) is not working Windows 8

Revision 2
Hi, I created a solution that contain both Windows application project and WPF project in the singe solution. Running this on Windows 8, i am getting a unknown error. That if start up project is Windows application, then the video is playing but its not visible. But If the start up project is WPF then the video is playing well. I know how its sounds like. But i am getting this problem. Please help me on this.. Thank you. Code is this only.
Moiveplay.Source = new Uri(urls);
           Moiveplay.LoadedBehavior = Moiveplay.UnloadedBehavior = MediaState.Manual;
But my problem is not with code i think. Because the video is playing, but its not viewing it. This is the problem. I hope you understand.
Posted 28-Dec-12 17:37pm by ssyuvaraja.
Tags: ,

Advertise | Privacy |
Web03 | 2.8.171020.1 | Last Updated 5 Nov 2009
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid