+ 5
How to add audio in html from gallery?? Solve
I added audio in code but it can't load. --Is audio end tag is optional or necessary? #audio #source https://code.sololearn.com/W9k04sl5U1Ir/?ref=app
5 Answers
+ 5
Add the audio from your phone to Dropbox and then just copy the link from dropbox and paste it inside the <audio>
https://www.sololearn.com/discuss/1054246/?ref=app
+ 5
easy just download Dropbox (best)
<audio controls autoplay>
<source src="https://www.dropbox.com/s/zqe074bl45txttk/Ummon%20Hiyonat%20Ringtone.mp3?raw=1" type="audio/mp3">
</audio>
+ 4
audio is not an empty tag so it won't self-close so you need the closing </audio>.
Paste the code or a link to the page where it isn't working. There is a lot of potential causes for it to break when we can't see the code or reproduce the problem.
If a working example helps, check out:
https://www.w3schools.com/html/html5_audio.asp
+ 2
Sabela PĂ©rez yupp this is working..