
backgound music from my website wont play! it will if i open it with explorer www.racefabinc.com
need help setting firefox to play background music
All Replies (6)
On my Firefox, <embed type="audio/mpeg"> is handled by the QuickTime plugin, so Firefox prompts me to allow the page to use QuickTime. Do you get prompted with any kind of plugin notification? Check for an icon similar to a Lego block in the address bar to the left of the URL.
Another option would be to try to use the built-in HTML5 player. MP3 is fairly well supported on Windows versions of Firefox, but this may fail on Mac and Linux where a plugin probably will be required. You can find libraries to do the code for you, such as: http://mediaelementjs.com/ (I haven't used it myself).
You have the classic Windows Media Player plugin (Npdsplay dll) I don't know if that plugin supports this MP3 media file on Windows XP, but you can try this bookmarklet to see if you can force Firefox to use that plugin.
javascript:void(document.querySelector("embed").setAttribute("type", "application/x-mplayer2"))
You can also paste the code in the command line in the Web Console (Firefox/Tools > Web Developer) to test this.
You can also try to install the new WMP plugin. https://support.mozilla.org/kb/play-windows-media-files-in-firefox
i see the lego, however when i tell it to install plugin t said cant find plugin.
ok i did that even though it warned me not to if i didnt know what i was doing and i didnt. lol still doesnt play the music. if i changed the format of my backgound music would it work better?
Thank yall for the help. i went on quicktime site and downloaded quicktime 7 then restarted firefox and went to the lego and it allowed me to allow the music to play!
You can use the type attribute to specify what plugin to use to play a media file. A lot of common plugins like Windows Media Player and QuickTime and RealPlayer should be able to play mp3 files if you specify a content type that the plugin supports (see the about:plugins page).
Another possibility is to use the audio tag to use the built-in HTML5 media player. See: