constant music playing on my website

hi...
i have a website... and would like to play a backround music constantly when the page opened... can anyone tell me how can i do that?

thank you
ferman-kAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zlobchoCommented:
<head>
<title></title>
<BGSOUND src = "sound.wav" loop= "2">
</head>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cornelia YoderArtistCommented:
Rather than answer your question, I warn you that music from a website is one of the most hated things on the internet (other than malicious stuff).   I personally recommend that you do not do this at all.  I (and most people I've talked to about this) instantly close any webpage that plays any kind of unrequested sound.
0
zlobchoCommented:
0
Cornelia YoderArtistCommented:
Here is a list from an informal poll of what is the most hated website feature -- audio is second only to popups.

1. Pop-ups.
2. Embedded audio.
3. Dosens of animated GIFs on one page.
4. Right-click blocking.
5. Use of images to display text or symbols.
6. Use of tables for layout - spare my bandwidth!
7. Best viewed with IE - phlease! It's the worst browser out there.
8. Site trying to install some crap (like a cursor).
9. Endless non-stop JavaScript alerts.
10. Having a huge immage that loads up in small chunks like mosaic - utter table idiocy.
11. "Your browser is not sufficient enough to browse this site, please get IE and then come back."
12. Page having dosens hundreds of links on it (portal sites).
13. E-Crap.
14. Having utter corporate public relations bull**** written on it, after reading which you become dumber.
15. Unnessesary use of Java applets (navigation menu done in Java? Just use JavaScript damn it!)
16. Serverside user input validation.
17. Use of JPEG for screenshots or other non-photo images.
18. Fixed font sizes that are unreadable in high resolutions.
19. Broken pages.
20. Bad HTML.

From:  http://developers.evrsoft.com/forum/archive/index.php/t-312.html
0
ferman-kAuthor Commented:
i have agreed to not use it, because it might make my website hated by other... and the file could only be played on BG while i view it on the server not when i accessed it from url... anyway i will be ok with what i have now, but might by others who want it work properly not like it...

god bless
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.