How to add background music to my web page??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to add background music to my web page???

if someone open my page it should start playing background music.. automatic.....i want to add this type of music*(https://youtu.be/PgT7VZkB3q4)*

24th Apr 2018, 4:48 AM
Ashish Sharma
Ashish Sharma - avatar
5 Answers
+ 12
People do not expect websites to do automatic actions onload. Whether a music, a full-screen animation or a simple pop-up -- all this is considered annoying, at best.
24th Apr 2018, 6:44 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 5
Q: What is a gentleman? A: Someone who knows how to play the bagpipes but doesn't!
24th Apr 2018, 5:34 AM
Sebastian Keßler
Sebastian Keßler - avatar
+ 4
<audio src="music.3gp" />
24th Apr 2018, 5:09 AM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 2
why need this? you are allowed to do anything but not all things are good for u dear
24th Apr 2018, 5:39 AM
James Adeiza 🇳🇬
James Adeiza 🇳🇬 - avatar
+ 1
i see the tag information for adding music was given and i wonder if you should consider allowing the option to turn the music off...to enjoy the content without. Especially if planning to auto start when you land on the page.
24th Apr 2018, 6:18 AM
Jacqui Whiteley