Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 05-05-2010, 12:16 AM   #1
Daemon Poster
 
Join Date: May 2009
Posts: 690
Default sound help

I use Firefox and I know a lot of people use iE

So I found this code to put sound on my page.

Itold me it wouls work for iE and Firefox users.

<embed src="music.mid" width=145 height=55 autostart=true loop=true>
<noembed>
<bgsound src="music.mid" loop=infinite>
</noembed>
It did nothing.

I thought it goes between the Head Tags?
__________________

biferi is offline   Reply With Quote
Old 05-05-2010, 01:47 PM   #2
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: sound help

Quote:
It did nothing.
Thank goodness for that. I'd gladly bash the bgsound tag into permanent obliteration... It's possibly the worst HTML tag ever invented.

It's not part of any official HTML spec (thankfully) and therefore browser support will be very limited (phew.)
__________________

__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 05-05-2010, 04:44 PM   #3
Daemon Poster
 
Join Date: May 2009
Posts: 690
Default Re: sound help

Is there a code to autoplay wav or mp3 files for both iE and firefox?
biferi is offline   Reply With Quote
Old 05-05-2010, 05:06 PM   #4
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: sound help

Not a reliable tag, no. Why on earth would you want to commit such a crime anyway?
__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 12:50 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0