No Background Sound with Firefox Browser

G

Guest

When used as a background sound, my audio file (.wav) plays ok in Internet
Explorer but not in Firefox. When I create a link to the audio file, both
browsers play the sound through the Windows Media Player. Is there any way
to make the audio file play as a background sound in Firefox?
Thanks,
Clive
 
S

Stefan B Rusynko

don't use bgsound
use embed in the body of the page
<embed src="soundfile.wav" autostart="true" loop="true" width="0" height="0" hidden align="center">

--

_____________________________________________
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
_____________________________________________


| When used as a background sound, my audio file (.wav) plays ok in Internet
| Explorer but not in Firefox. When I create a link to the audio file, both
| browsers play the sound through the Windows Media Player. Is there any way
| to make the audio file play as a background sound in Firefox?
| Thanks,
| Clive
 
G

Guest

Stefan,
Thanks for the information. I used embed and it worked ok in the IE
browser. But the Firefox browser requested I download the Apple Quicktime
plug-in. It seems strange since I don't have a Mac computer so I'm debating
whether to download it or not.
Clive
 
T

Trevor L.

Clive said:
Stefan,
Thanks for the information. I used embed and it worked ok in the IE
browser. But the Firefox browser requested I download the Apple
Quicktime plug-in. It seems strange since I don't have a Mac
computer so I'm debating whether to download it or not.
Clive

I think this happened with me too when I tried music in Firefox.

Don't worry. Quicktime works fine in Windows XP. Go ahead and download it.
 
G

Guest

Trevor,
I downloaded Quicktime + iTunes but Firefox still does not play the embeded
audio file. Could it be because because, during installing Quicktime, I
specified that it not be the default player?
Thanks,
Clive Soden
 
G

Guest

Trevor,
This is my second reply to get notification for a reply. I downloaded
Quicktime + iTunes but still Firefox does not play my embeded sound file.
Could it be that, during installing Quicktime, I specified that it not be my
default player?
Thanks,
Clive
 
T

Trevor L.

Clive said:
Trevor,
This is my second reply to get notification for a reply. I downloaded
Quicktime + iTunes but still Firefox does not play my embeded sound
file. Could it be that, during installing Quicktime, I specified that
it not be my default player?
Thanks,
Clive

Clive,
I only received this post about 10 minutes after it was sent, so I don't
know why you needed to send it twice.

I seem to recall that I had some problems getting Quicktime to work in
Firefox. You may be correct in that you haven't set it as the default
player.
However, I just tried to play music again in Firefox and it failed, so now I
am just as in the dark as you.

This is my code:
<span id="sound"></span>
<input type="button" value="Play/Stop
Music" onclick="playSound()"/>

function playSound(fname)
{
if (!fname)
var fname = "audio/minuet.mid"
var x = document.getElementById("sound")
x.innerHTML = (!x.innerHTML )
? '<embed src="' + fname + '" loop=false autostart=true
hidden>'
: ''
}

These are the files in plugins

Contents of C:\Program Files\Mozilla Firefox\plugins\
At 22/12/05 1:33:42 PM 21 Files 2.04 MB
flashplayer.xpt
GetFlash.exe
GetFlash.exe.manifest
np32dsw.dll
NPDocBox.dll
NPIPRT32.DLL
npnul32.dll
nppl3260.dll
npqtplugin.dll
npqtplugin2.dll
npqtplugin3.dll
npqtplugin4.dll
npqtplugin5.dll
npqtplugin6.dll
npqtplugin7.dll
nprjplug.dll
nprpjplug.dll
NPSWF32.dll
nsIQTScriptablePlugin.xpt
QuickTimePlugin.class
ShockwavePlugin.class

This does work in IE6.

So anyone, any ideas to help both of us.
 
G

Guest

Trevor,
Your embed code is a bit different than mine. I based mine on what Stefan
suggested ealier. My embed code is:

<embed src="demo_text/Peggy.wav" autostart="true" loop="false" width="0"
height="0" hidden align="center"></p>

I have 11 fewer Firefox plug-ins files than you. Mine consist of the
QuickTimePlugin.class and the two GetFlash .exe files, plus NPSWF32.dll and
the npqtplugin 2 thru 7 .dll files.

I'm thinking of uninstalling QuickTime and reinstalling it as the default
player. I can't figure out how to set it to the default player without
re-installing it. Is there a way?
 
T

Trevor L.

Clive said:
Trevor,
Your embed code is a bit different than mine. I based mine on what
Stefan suggested ealier. My embed code is:

<embed src="demo_text/Peggy.wav" autostart="true" loop="false"
width="0" height="0" hidden align="center"></p>

I think the differences are not significant. I omit quotes, you don't. I
guess I could chase this up
I have 11 fewer Firefox plug-ins files than you. Mine consist of the
QuickTimePlugin.class and the two GetFlash .exe files, plus
NPSWF32.dll and the npqtplugin 2 thru 7 .dll files.

I don't know what all mine are. I assume that QuickTimePlugin.class is the
important one
I'm thinking of uninstalling QuickTime and reinstalling it as the> default
player. I can't figure out how to set it to the default
player without re-installing it. Is there a way?

Yes,
Open QuickTime and choose these menu options
Edit|Preferences|QuickTime Preferences|File Types

I just set it as default for MIDI file type and tried playing ny .mid music
in Firefox again and what do you know? - it worked. Hooray!
 
G

Guest

Trevor,
I followed your instructions for changing QuickTime settings so that it is
the default for MIDI file type. Now my Firefox browser plays the background
audio like it's suppose to. It looks like both of us solved our problems.
Thanks for you help.
Clive
 

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