0
How to upload audio in HTML?
I have been trying for about 3-4 hour but I can't understand how to upload an audio! Please tell the process. Talking about HTML.
13 Respuestas
+ 2
Images
https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML
audio:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
video:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
How To Upload your phone images on SoloLearn using phone
https://code.sololearn.com/WT3661NHpV3B/?ref=app
Upload content with Dropbox [Tutorial]
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
How to host/upload an image (IMGBB way)
/by Farhanaz/
https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app
Upload content with Google drive
https://code.sololearn.com/Wa25A17a19a1/?ref=app
+ 1
Audio/Video upload turorial
https://code.sololearn.com/WV796n6dPtJe/?ref=app
+ 1
Read this it will help you ➡️https://stackoverflow.com/questions/32392072/how-to-play-google-drive-mp3-file-using-html-audio-tag
+ 1
I have upload successfully, thank you very much everyone, specially, thanks to Saddam Hussain
0
What exactly have you tried?
0
I tried these things:
1./storage/emulated/0/Download/audioname.mp3
2.files:////storage/emulated/0/Download/audioname.mp3
3./storage/emulated/0/Ymusic/audioname.mp3
4.files:////storage/emulated/0/Ymusic/audioname.mp3
5. I tried copying links from YouTube or download links from Google.
All the time I used this format:.
<audio controls>
<source src="the above things one by one">
</audio>
0
Did you try it on sololearn playground? sololearn playground cannot access your local phone storage.
0
Yes, I tried them there and nothing is working. Can't play the audio.
What is the real format and method to upload any audio in html here, please tell!!
0
look friend
You should first upload your audio file to Google drive then git the direct download link and but it in the src attribute
0
The app can't Access your local storage for Android security
0
Can you show an example? I tried that way too.
0
<audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>