Click here to Skip to main content
15,891,783 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi friends:

i have A website and i want to add mp3 music on my home page
when ever user come on home page the song start automatically

plz help me how can i do this?
Posted
Updated 17-Oct-11 2:36am
v2
Comments
Chris Maunder 17-Oct-11 17:01pm    
Can I suggest, please, that you don't.

It never turns out to be a good idea. Ever.

It's usually called "background sound". If this is what you need, please see http://allwebco-templates.com/support/S_script_music.htm[^].

—SA
 
Share this answer
 
v2
check the following link for different options:

http://www.w3schools.com/html/html_sounds.asp[^]
 
Share this answer
 
Comments
prince_rumeel 17-Oct-11 8:59am    
i already has been checked out this,i also know google is wast world.
but remind my question plz
Sergey Alexandrovich Kryukov 17-Oct-11 15:10pm    
Yes, playing background music is somewhat different. Please see my solution.
--SA
Sergey Alexandrovich Kryukov 17-Oct-11 14:51pm    
My 5; good answer and link.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900