I want to play the media element (not that it's matter I'm asking a global question here). I have a resource file for the media element which I wanna play but it's source demand a URI for example
mediaElement1.Source = new Uri(@"c:\users\SabrinaVazIsFuckingGod\video\22.wav");
now i dont have 22.wav
as a path but in my "resource"
I found out from my searching that some programmers are talking about packs but I dont know how to use them, so please if you know how, and can explain me or even better to give me example code I'll be grateful.
Thanks for the people who already answered, but they didnt answered my question, I want to have my media file in the exe and not in any other place.