+ 1

File

I don't know how (or if) can I take a file in my computer, to play it in a web page

27th May 2018, 2:35 PM
Larthux
Larthux - avatar
7 Respostas
+ 12
file:///C:/path/to/audio.mp3
27th May 2018, 2:45 PM
Amethyst Animion
Amethyst Animion - avatar
+ 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
27th May 2018, 3:11 PM
Amethyst Animion
Amethyst Animion - avatar
+ 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
27th May 2018, 3:14 PM
Amethyst Animion
Amethyst Animion - avatar
+ 1
even in HTML5? with "<audio controls source src="file:///C:/"> ?
27th May 2018, 3:03 PM
Larthux
Larthux - avatar
+ 1
https://code.sololearn.com/WXEsF9R49E1I/?ref=app in this code, can I play an audio from my computer?
27th May 2018, 3:08 PM
Larthux
Larthux - avatar
+ 1
ok thank u
27th May 2018, 3:12 PM
Larthux
Larthux - avatar
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.
27th May 2018, 7:49 PM
Alex Smith
Alex Smith - avatar