MediaElement
<MediaElement MediaEnded="MediaEnded" MediaOpened="MediaOpened" LoadedBehavior="Manual" Visibility="Hidden" Height="230" HorizontalAlignment="Right" Margin="0,0,13,82" Name="MediaPlayer" VerticalAlignment="Bottom" Width="457" Opacity="1" AllowDrop="True" Stretch="Uniform" IsMuted="False" />
uri
MediaPlayer.Source =new Uri(@"L:\Melody Hits\1. 03 - Teri Yaadon Mein.mp3",UriKind.Relative); // it does not playing // no error or exception is throwing
MediaPlayer.Source =new Uri(@"L:\Melody Hits\TERE_BIN.mp3",UriKind.Relative);
I had identified that the problem is with the name of the file which i am giving, if the file name contains any special characters then it doesn't work.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)