Firefox is not longer player my mp3 on my website..
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.
All Replies (4)
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">
Modified
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.
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
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);})();
Modified