+ 33
How do I add audio to work automatically in HTML?
I'm trying to make a web code which should automatically play the audio if we run it
18 ответов
+ 16
ααdítчα ❣️Thank you!
it would be good if it is working without any click
I don't talk about this
https://code.sololearn.com/WxPVZz819g1O/?ref=app
+ 13
Kelvin Paul & Mǟɖ↻ôɖɆⱤ💉🖖 Thank you both!
But I'm unable to hear the rain song which is added in that code
It's working?
+ 13
I made something like this at last.
Btw, I don't know why audio link is not working?
https://code.sololearn.com/Wp565OaM4UkP/?ref=app
Edit:
Mǟɖ↻ôɖɆⱤ💉🖖 & Kelvin Paul But it's working here. That's why I was a little confused
https://code.sololearn.com/WxPVZz819g1O/?ref=app
+ 6
https://code.sololearn.com/WWs0kE6sOMVf/?ref=app
Simba See his code
By Mǟɖ↻ôɖɆⱤ💉🖖
+ 6
Simba try to use small mp3 files reducing bitrate for online purpose is more good
+ 6
Where is your file extension?
also remove ?dl=0
+ 3
<audio src="music.mp3" autoplay>
</audio>
+ 2
you can add a loop at the being of the audio tag .
+ 2
By using HTML – EMBED MULTIMEDIA
<embed>
0
I still don't understand how to add video/audio in coding HTML 🙂
- 4
What is this app?