Click here to Skip to main content
14,970,219 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
C#



I was created a Media player with MediaElement in CSharp.NET WPF prpject. When i execute this project it doesn't gives any error but when i open any video any plays video or media element cant displays. total empty blank space displays.

can any one solve this problem

what is my mistake
Posted
Comments
   
It should not be like this; this control works reliably. So, could you make a simple code sample? There more than one way to screw up things... :-) If are going to do it, use "Improve question" above.
--SA
[no name] 5-Jul-12 13:11pm
   
Did you bother debugging? What happened when you stepped through your code? Where is the code that demonstrates your problem?

1 solution

Check your Codecs - do you have the appropriate ones loaded for the video type you are trying to display? Try a different video file type, and see if that works. If it does, then you probably need to load or update your codec pack.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900