How do I make a background audio | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I make a background audio

cause I've been literally searching the internet for hours and I can't seem to find any answers šŸ˜«šŸ˜« please help.

15th Oct 2023, 7:06 AM
Slimn Kuen
Slimn Kuen - avatar
3 Answers
+ 6
https://www.w3schools.com/TAgs/tryit.asp?filename=tryhtml5_audio_autoplay
15th Oct 2023, 7:53 AM
JaScript
JaScript - avatar
+ 3
You may put background audio to your website, but you should be so friendly and ask the user if it's alright to play audio. The reason is that many people use the internet in an open-plan-office with many coworkers sitting around. And in this situation it could be disturbing.
16th Oct 2023, 11:44 AM
Jan Markus