Click here to Skip to main content
15,884,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i use this sample code Player in C# and WPF
and other sample codes
and i have been written codes before that work perfectlly.
but now media element not playing and do not throw exception too.
i do not know what is wrong with my windows 10.

What I have tried:

i think there is somthing wrong with my windows 10
because all media element sample code do not work and media element that i have been used before not work too
Posted
Updated 29-May-20 6:44am
v2

You need to talk to the person who wrote the tutorial.
 
Share this answer
 
Comments
4L4K1 27-Aug-20 21:48pm    
i send message to that site for long time ago but no answer
that sample code is right but not working in my windows 10 i know if i reinstall it will be ok but i want to know what is wrong because somebody else told me he have same problem
it is not reasonable to reinstall windows!
Richard MacCutchan 28-Aug-20 4:30am    
Sorry, but there is nothing we can do to fix some code that you found on the internet. If you do not understand the code, and cannot find the problem with the debugger then I suggest you throw it away.
4L4K1 29-Aug-20 1:13am    
i know how to debug and find errors but there is no error
Richard MacCutchan 29-Aug-20 2:59am    
You cannot be certain of that.
Suggestions:
1 Run the code in Debug mode to see what is going on with it.
2 View the second part of the article to see what improvements were made.
3 Contact the author of the article
 
Share this answer
 
Comments
4L4K1 27-Aug-20 21:52pm    
i send message to that site for long time ago but no answer
that sample code is right but not working in my windows 10 i know if i reinstall it will be ok but i want to know what is wrong because somebody else told me he have same problem
it is not reasonable to reinstall windows!
i run it in Debug mode no error everything is good but sound not playing
second part of article just suggest to disable and enable player buttons!
your Windows edition if be N,KN they do not have media player installed
so media element not working.

this link help u install Media Feature Pack to solve it
 
Share this answer
 

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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