X
Tap here to go to the mobile version of the site.

Support Forum

Firefox is not longer player my mp3 on my website..

Posted

I built my site (Scrapmusic.com) over 5 years ago..using Firsfox..Not sure when it started but Firefox and Netscape won't play my mp3 right..I emailed Yahoo about it and they say something has changed with Firsfox. Yahoo try my site with the same results, won't play mp3 right..I see on your site other people are having the same trouble.Internet Explorer,Chorme and Safari play and look great.

I built my site (Scrapmusic.com) over 5 years ago..using Firsfox..Not sure when it started but Firefox and Netscape won't play my mp3 right..I emailed Yahoo about it and they say something has changed with Firsfox. Yahoo try my site with the same results, won't play mp3 right..I see on your site other people are having the same trouble.Internet Explorer,Chorme and Safari play and look great.

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17671 solutions 159854 answers

Helpful Reply

Works for me on Linux.

Note that you do not specify a content type in the embed code to specify using a specific plugin, so you need the QuickTime plugin to play the MP3 file.

You can use type="application/x-mplayer2" for instance to make Firefox use the Windows Media Player.

If necessary, see:


<embed src="media/01-Hemingway.mp3.mp3" AutoStart="true" ShowTracker="true" ShowControls="true"  ShowGotoBar="false" ShowDisplay="false" ShowStatusBar="false" AutoSize="false" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/" width="240" height="70">
Works for me on Linux. Note that you do not specify a content type in the embed code to specify using a specific plugin, so you need the QuickTime plugin to play the MP3 file. You can use type="application/x-mplayer2" for instance to make Firefox use the Windows Media Player. If necessary, see: *https://support.mozilla.org/kb/windows-media-or-other-plugins-stopped-working ---- <pre><nowiki><embed src="media/01-Hemingway.mp3.mp3" AutoStart="true" ShowTracker="true" ShowControls="true" ShowGotoBar="false" ShowDisplay="false" ShowStatusBar="false" AutoSize="false" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/" width="240" height="70"></nowiki></pre>

Modified by cor-el

jscher2000
  • Top 10 Contributor
8837 solutions 72222 answers

Helpful Reply

When I load a song on your site, the QuickTime plugin fires up (eventually) and starts playing, but the music generally stops well short of the full length of the media. When I watch what Firefox is doing, it is downloading the entire file, but there appears to be some kind of communication issue with the plugin.

I'm not sure how your pages are generated, but one potential workaround is to use the native HTML5 player (if available) to work around this issue. This involves adding an additional pair of tags around your existing media tags:

<!--$media asset="%MediaAssetImpl:/media/02-Gumbo.mp3.mp3" autoStart="true" loop="false" showControls="true" height="70" width="240" mediaPlayer="com.yahoo.sitebuilder.media.WindowMediaPlayer" type="0"$-->
<!--$begin exclude$-->
<audio src="media/02-Gumbo.mp3.mp3" type="audio/mpeg" controls="true" autoplay="true">
<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab" width="240" height="70">
<param name="FileName" value="media/02-Gumbo.mp3.mp3">
<param name="AutoStart" value="true">
<param name="ShowTracker" value="true">
<param name="ShowControls" value="true">
<param name="ShowGotoBar" value="false">
<param name="ShowDisplay" value="false">
<param name="ShowStatusBar" value="false">
<param name="AutoSize" value="false">
<embed src="media/02-Gumbo.mp3.mp3" AutoStart="true" ShowTracker="true" ShowControls="true"  ShowGotoBar="false" ShowDisplay="false" ShowStatusBar="false" AutoSize="false" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/" width="240" height="70"></embed></object>
</audio>
<!--$end exclude$-->

I tested it in Firefox 28, Chrome, and IE8 (uses Windows Media Player) on Windows 7. I notice it sticks out of the right side of the allotted space on both Firefox and Chrome, so it looks off center. But it plays, and it's faster to start than when a plugin needs to be loaded.

When I load a song on your site, the QuickTime plugin fires up (eventually) and starts playing, but the music generally stops well short of the full length of the media. When I watch what Firefox is doing, it is downloading the entire file, but there appears to be some kind of communication issue with the plugin. I'm not sure how your pages are generated, but one potential workaround is to use the native HTML5 player (if available) to work around this issue. This involves adding an additional pair of tags around your existing media tags: &lt;!--$media asset="%MediaAssetImpl:/media/02-Gumbo.mp3.mp3" autoStart="true" loop="false" showControls="true" height="70" width="240" mediaPlayer="com.yahoo.sitebuilder.media.WindowMediaPlayer" type="0"$--> &lt;!--$begin exclude$--> '''&lt;audio src="media/02-Gumbo.mp3.mp3" type="audio/mpeg" controls="true" autoplay="true">''' &lt;object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab" width="240" height="70"> &lt;param name="FileName" value="media/02-Gumbo.mp3.mp3"> &lt;param name="AutoStart" value="true"> &lt;param name="ShowTracker" value="true"> &lt;param name="ShowControls" value="true"> &lt;param name="ShowGotoBar" value="false"> &lt;param name="ShowDisplay" value="false"> &lt;param name="ShowStatusBar" value="false"> &lt;param name="AutoSize" value="false"> &lt;embed src="media/02-Gumbo.mp3.mp3" AutoStart="true" ShowTracker="true" ShowControls="true" ShowGotoBar="false" ShowDisplay="false" ShowStatusBar="false" AutoSize="false" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/" width="240" height="70">&lt;/embed>&lt;/object> '''&lt;/audio>''' &lt;!--$end exclude$--> I tested it in Firefox 28, Chrome, and IE8 (uses Windows Media Player) on Windows 7. I notice it sticks out of the right side of the allotted space on both Firefox and Chrome, so it looks off center. But it plays, and it's faster to start than when a plugin needs to be loaded.

Question owner

Thanks very much for your help..I'm a musician/songwriter and don't know much about HTMLs..I'm using Yahoo Sitebuilder and can get into the player's properties.Not sure where to put HTML5 or where I can get it. The default size of the player was 240W x 42H put you couldn't see all of it in Chrome or Explorer so I changed it to 240 x 70. Again Thanks, Roger

Thanks very much for your help..I'm a musician/songwriter and don't know much about HTMLs..I'm using Yahoo Sitebuilder and can get into the player's properties.Not sure where to put HTML5 or where I can get it. The default size of the player was 240W x 42H put you couldn't see all of it in Chrome or Explorer so I changed it to 240 x 70. Again Thanks, Roger
cor-el
  • Top 10 Contributor
  • Moderator
17671 solutions 159854 answers

If you want to see the HTML5 media player in action then you can paste this code in the Web Console (Firefox/Tools > Web Developer).
You can also use the code as a bookmarklet.

javascript:(function(){d=document;e=d.querySelector('embed');o=d.querySelector('object')||e;n=d.createElement('audio');n.src=e.src;n.setAttribute('type','application/x-mplayer2');n.setAttribute('autoplay','true');n.setAttribute('width','300');n.setAttribute('controls','true');o.parentNode.insertBefore(n,o);n.appendChild(o.cloneNode(true));o.parentNode.removeChild(o);})();

If you want to see the HTML5 media player in action then you can paste this code in the Web Console (Firefox/Tools > Web Developer).<br /> You can also use the code as a bookmarklet. <pre><nowiki>javascript:(function(){d=document;e=d.querySelector('embed');o=d.querySelector('object')||e;n=d.createElement('audio');n.src=e.src;n.setAttribute('type','application/x-mplayer2');n.setAttribute('autoplay','true');n.setAttribute('width','300');n.setAttribute('controls','true');o.parentNode.insertBefore(n,o);n.appendChild(o.cloneNode(true));o.parentNode.removeChild(o);})();</nowiki></pre> ---- *https://developer.mozilla.org/Tools/Web_Console

Modified by cor-el