How to add Sound that works with IE and FireFox Browser

W

Will

How can I add sound to my web page that will work with both Internet
Explorer and the FireFox browser?

1 - I tried...

<EMBED SRC="Sounds/MySound.wav" autostart="true" autohide="true" WIDTH=0
height=0 controls=stopbutton>

But with IE I get a popup about an ActiveX control... and I think that will
scare most people.

2 - I also tried..

<bgsound src="Graphics/MySound.wav" loop="0">

with the code just before the <body> tag

I thought that once worked for IE only... but now it doesn't seem to work at
all.

Any help would be great.

Thanks
 
S

Steve Easton

<bgsound src="Graphics/MySound.wav" loop="0">

Needs to be "in" the body tag:

<body bgsound src="Graphics/MySound.wav" loop="0">


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
S

Stefan B Rusynko

The bgsound tag is only supported by IE
Use an Embed but get used to the AcitiveX alerts
- for a workaround see
http://msdn.microsoft.com/library/d.../author/dhtml/overview/activating_activex.asp

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| How can I add sound to my web page that will work with both Internet
| Explorer and the FireFox browser?
|
| 1 - I tried...
|
| <EMBED SRC="Sounds/MySound.wav" autostart="true" autohide="true" WIDTH=0
| height=0 controls=stopbutton>
|
| But with IE I get a popup about an ActiveX control... and I think that will
| scare most people.
|
| 2 - I also tried..
|
| <bgsound src="Graphics/MySound.wav" loop="0">
|
| with the code just before the <body> tag
|
| I thought that once worked for IE only... but now it doesn't seem to work at
| all.
|
| Any help would be great.
|
| Thanks
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top