How To Add Backround Music In .html Websites?
Akalamanaia
Join Date: 2003-01-04 Member: 11833Members
in Off-Topic
Comments
Embedded music in webpages is, by far, one of the most annoying things out there, closely followed by swirling images that hover around your cursor. Music takes a while to load, is often unexpected, which is bad if you're browsing at 2 AM and suddenly loud music starts playing, and, some of us, like myself, listen to music while browsing the internet, and I, for one, find it very annoying when a passionate song is interrupted by what some yahoo thought would be neat to have on a webpage.
[/rant]
I implement a basic jukebox on my site <a href='http://www.0x01a4.com' target='_blank'>http://www.0x01a4.com</a>
starts paused by default, streams the music in a compressed format so it loads fast.
Life is good.
Edit: seeing Them's post, a jukebox is one thing, but the usual "{insert video game name here}theme.mid" is crap.
I think those are the commands, from memory.. haven't used anything of the sort for many years.
but instead. google for <embed src="sound.wav"> and youll find: <a href='http://www.activejump.com/l-1.shtml' target='_blank'>http://www.activejump.com/l-1.shtml</a>
i.e
<a href='http://domain.com/' target='_blank'>http://domain.com/</a> would have "Error: 404, go back to domain.com"
while
<a href='http://othersite.domain.com/' target='_blank'>http://othersite.domain.com/</a> would have "Error:404 go back to otherside.domain.com"
Exactly what I was thinking. Except I always turn the music off when I go there.
Yes, I make sure to avoid the main page as much as I can and find the background "music" extremely irritating. Thank god they're making a new one.
Oh wait... you were trying to prove a point for the -other- side...
Guessing that if you're using .htaccess files you're talking about Apache?
Goto <a href='http://httpd.apache.org/docs-2.0/mod/core.html' target='_blank'>http://httpd.apache.org/docs-2.0/mod/core.html</a> and look at the ErrorDocument statement - can either be used in a .htaccess file, or within the main httpd.conf file.