web page music loads in IE but not Firefox. Have downloaded Windows Media Player Firefox plug in but still nothing. Any other suggestions?
Can't get any sound when I open one webpage in Firefox but sound works in Internet Explorer. sound files are .wmv and mp3 format. I have Windows Media Player Firefox Plug in installed and set to always activiate. Also have Quicktime & Shockwave activated. Any suggestions. Operating system is Windows 7. Thanks
All Replies (17)
Link to the site with the issue would help.
Start Firefox in Safe Mode {web Link} by holding down the <Shift>
(Mac Options) key, and then starting Firefox. Is the problem still there?
rmrail said
Can't get any sound when I open one webpage in Firefox but sound works in Internet Explorer. sound files are .wmv and mp3 format. I have Windows Media Player Firefox Plug in installed and set to always activiate. Also have Quicktime & Shockwave activated. Any suggestions. Operating system is Windows 7. Thanks
The website is members.shaw.ca/quiltybarb
I have confirmed the issue. Firefox does not play the music, even thou the plugin shows on the address bar. No issue with Win IE.
I've called the big guys to help you. Good luck.
FredMcD द्वारा
There are a couple issues here that might be the culprit. One is that the player is hidden using a variety of techniques and Firefox often suppresses hidden content because it can be annoying not to be able to control your experience with media. Another possible issue is that the embed tag doesn't specify a content type. Firefox appears to be guessing anyway, and in my case asking whether to activate the QuickTime plugin, but then nothing plays.
To test what would happen if both of those were addressed, you can run this script using Firefox's Web Console. It grabs the address of the media and creates a new embed that is visible and specifies the content type. Here's how to use it:
Select the following long line of code and copy it:
function reEmbedMpeg(em){var el=document.createElement("embed"); el.setAttribute("type","audio/mpeg"); el.setAttribute("src",em.src); el.setAttribute("style","height:20px;width:200px;position:fixed;right:0;top:0"); document.body.appendChild(el);} reEmbedMpeg(document.querySelector("embed"));
When viewing the problem page, press Ctrl+Shift+k to open the Web Console in the lower part of the tab.
Paste the code next to the caret (>>) on the bottom line and press Enter to run it. A player should appear in the upper left corner, the progress bar should show downloading and then the content should play.
Obviously it's not practical to hack every web page you find, but if this is your site or you would be interesting in contacting the owner, hopefully this post will help in getting this working in Firefox.
Note that you can also use the HTML5 media player to play the file if you would create an AUDIO tag.
function reEmbedMpeg(ob){var el=document.createElement("audio");el.setAttribute("src",ob.querySelector("embed").src); el.setAttribute("autoplay","true");el.setAttribute("controls","");el.setAttribute("style","width:200px;position:fixed;right:0;top:0"); ob.parentNode.replaceChild(el,ob);} reEmbedMpeg(document.querySelector("object"));
All this coding is beyond me. It is my website and I am using WebEasy Professional 10 by Avanquest to create it. Sound works in Internet Explorer. So it must be Firefox that is the issue. What do I need to do the Firefox program to make it work?
Are you using the "background audio" feature described in this article: http://www.vcom.com/webeasyhelp/Adding_Sound_Effects_or_Music.htm
If that is limited to an invisible player, you may have to use a different method to play the music in Firefox. I am not very familiar with WebEasy so at this point I don't have a recommendation.
I did some poking around in my Page Info. I placed all plugins to on. Still nothing. I then checked the Media page. Look at the entry for MP3. Why is this dimmed out?
Cleared cookies / cleared cache. Nothing.
I even copied the web link to the mp3. The page loaded, the plugin was active, but still nothing.
Just had an idea; I opened my VCL player and entered the mp3 link. It played just fine. (Nice music, by the way)
Hi FredMcD, the embed is hidden using CSS and a height set to 0. Firefox often does not activate plugins under these conditions.
Ahh I see
It works for me with the audio tag. You can add an object tag as a fallback for IE
<audio src="welcometomyworld.mp3" autoplay="true"> <object classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" type="application/x-oleobject" style="visibility: hidden;" width="0" height="0"> <param name="AutoStart" value="1"> <param name="Loop" value="0"> <param name="ShowControls" value="0"> <param name="ShowDisplay" value="0"> <param name="ShowStatusBar" value="0"> <param name="AnimationAtStart" value="0"> <param name="FileName" value="welcometomyworld.mp3"> </object> </audio>
You can check the page source with this code in the Web Console (Firefox/Tools > Web Developer) to see what the audio tag looks like.
function reEmbedMpeg(ob){var el=document.createElement("audio");el.setAttribute("src",ob.querySelector("embed").src); el.setAttribute("autoplay","true"); ob.parentNode.replaceChild(el,ob);} reEmbedMpeg(document.querySelector("object"));
See also:
Guys, found another user with the same problem'
That is not the same problem.
^^ That is a different problem.
In this case Firefox can play the file, but doesn't start playing because the player is hidden. In the other case(s) Firefox isn't able to play the files for some reason, possible because its header isn't recognized or is otherwise causing problems.