+ 1
File
I don't know how (or if) can I take a file in my computer, to play it in a web page
7 Respostas
+ 12
file:///C:/path/to/audio.mp3
+ 11
guitarthur
for private (local only)
if you are using the audio in same folder with html files
audio.mp3
if you are using the audio in outside folder of html files
../files/audio.mp3
if you are using the audio in different folder with html files
file:///C/path/to/audio.mp3
for public (server)
http://domain.com/files/audio.mp3
+ 11
guitarthur you can play any audio from your computer in code playground but not able played by anyone here. if you want to use an audio here, upload it to an audio hoster
+ 1
even in HTML5? with "<audio controls
source src="file:///C:/"> ?
+ 1
https://code.sololearn.com/WXEsF9R49E1I/?ref=app
in this code, can I play an audio from my computer?
+ 1
ok thank u
0
Hello,
It is simple, kindly let me tell you a trick.
click simultaneously Window+R key and Drag the file in it, Once done you can copy their address.