How do I add audio to html from my web storage? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I add audio to html from my web storage?

I want to add audio from my dropbox to html. I'm coding like this: <html> <body> <audio controls><source src="https://www.dropbox.com/s/duwpc4o9kvc63s2/Bass-Drum-Hit-Level-6a-www.fesliyanstudios.com.mp3?dl=0" type="audio/mp3">Your browser does not support the audio element</audio> </body> </html> I've added audio like this but the audio doesn't play.I need help to fix the problem.

8th Sep 2020, 1:17 PM
Gourab Sutradhar
Gourab Sutradhar - avatar
5 Answers
+ 1
change that www to dl and I Dunno why but it will work
8th Sep 2020, 1:22 PM
Abhay
Abhay - avatar
0
Thanks.
8th Sep 2020, 1:24 PM
Gourab Sutradhar
Gourab Sutradhar - avatar
0
👍
8th Sep 2020, 1:25 PM
Abhay
Abhay - avatar
0
How do I add audio or other files from Google Drive or Dropbox?
8th Sep 2020, 1:28 PM
Gourab Sutradhar
Gourab Sutradhar - avatar
0
Gourab Sutradhar by copying and pasting the link , that's the only way i know ,Google drive is a little bit different tho when it comes to making file available for playing audio or reading text from one ,
8th Sep 2020, 1:30 PM
Abhay
Abhay - avatar