+ 13

How to add background music in HTML which didn't On main screen

15th Jul 2021, 5:44 AM
Vaibhav
Vaibhav - avatar
3 Antworten
+ 4
Hello! Your question is very popular and has been asked in this section a huge number of times. Please, try using the search bar in other cases. It is located at the top of the mobile app window and looks like a magnifying glass icon. Good luck! How to use the Sololearn searchbar https://code.sololearn.com/W995A7y40Dow/?ref=app
15th Jul 2021, 5:47 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 3
Vaibhav Singh Please use search option because this question asked many times.
15th Jul 2021, 5:44 AM
A͢J
A͢J - avatar
+ 1
Use Audio tag without controls but it will not activate without user action. It would require click, dblclick, .... And then through js event Like Let music = document.querySelector("audio"); 🔊.onclick =()=>{ music.play(); }
15th Jul 2021, 3:14 PM
Divya Mohan
Divya Mohan - avatar