Click here to Skip to main content

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;
           Moiveplay.Play();
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 18:37pm by ssyuvaraja.
Tags: ,


Advertise | Privacy | Mobile
Web02 | 2.8.150327.1 | Last Updated 5 Nov 2009
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid