0

How do you add audio to your html code from your phone?

I have been trying this for hours and nothing I'm doing is working. Here is sololearns code: <audio src="http://www.sololearn.com/uploads/audio.mp3" controls> Audio element not supported by your browser </audio> That works fine, but when I replace the url, theres no sound. Justthe player. Can someone tell me what I doing wrong?

2nd May 2017, 9:28 PM
Derek Gist
Derek Gist - avatar
4 ответов
+ 25
yeah,this is URL and yes Dropbox is good to save any kind of files including audio.
2nd May 2017, 11:36 PM
Surbhi
Surbhi - avatar
+ 23
https://code.sololearn.com/WM1cl2jWtqyY/?ref=app If you want to know how to add audio,then you can get help from this code.
2nd May 2017, 11:18 PM
Surbhi
Surbhi - avatar
+ 1
@surbhi So I should download a music file, upload it to Dropbox, then copy and paste the url. Ok got it! Thank you!
2nd May 2017, 11:39 PM
Derek Gist
Derek Gist - avatar
0
@surbhi Is that a url you copy and pasted? And is dropbox good for finding an audio file to use?
2nd May 2017, 11:24 PM
Derek Gist
Derek Gist - avatar