Click here to Skip to main content
14,300,942 members
Rate this:
Please Sign up or sign in to vote.
See more:

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
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.
Wes Aday 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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100