Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can not play a song all the song path prom my webService all the path
are correct

The question of whether one can play a song that is on the computer not in the root folder
<audio controls>
              <source id=mp3Src src="C:\youtube Lior Songs\David Guetta - Shot Me Down ft. Skylar              Grey (Lyric Video).mp3" type="audio/mpeg">
              Your browser does not support the audio element.
 </audio>



<audio controls="">

Your browser does not support the audio element.
Posted
Updated 18-Jul-14 10:56am
v2
Comments
Vedat Ozan Oner 18-Jul-14 16:56pm    
that is great :) from now on, I will embed music into my answers :)
Vedat Ozan Oner 18-Jul-14 17:03pm    
I think you have to map your music folder to a web folder. open IIS manager (of course if it's your web server), right click on your website then add your physical mp3 folder "c:\.." to a virtual folder. But I'm not sure, just test it.
Member 10631195 18-Jul-14 18:53pm    
how i do it ??

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