Click to See Complete Forum and Search --> : music in firefox
gooncorp
04-04-2007, 01:53 PM
I was wondering if anyone could tell me how I can embed a music file into a HTML page using the <embed> tag, or otherwise, so that it will play in firefox.
I currently have
<embed src="/chem/01.wma" autostart="true" width="176px" height="160px" loop="false"></embed>
which doesn't do anything in firefox, although it works fine in IE.
Any ideas?
http://www.htmlcodetutorial.com/embeddedobjects/_EMBED.html
KDLA
Major Payne
04-05-2007, 03:51 PM
Try using the following online tool as the <embed> tag doesn't function in all browsers. This tool will give both the <embed> and <object> tags. Will also generate the proper code for whichever player you wish to use.
Embedded Media HTML Generator (http://cit.ucsf.edu/embedmedia/step2.php?mediatype=WindowsMedia)
Ron
johnf
02-05-2010, 04:52 AM
I have EXACTLY the same problem - embedding music in Firefox does not play, but in IE it works. Don't tell me again how to write the code, I have done it dozens of times. I have even copied the source code off a page with music from the net. It works in the original location but not in the new location. It is driving me mad! Is it something to do with my computer set-up?
PS I am using Win7
Eye for Video
02-05-2010, 09:23 AM
In the original post, the audio file in question was a .wma.
Whatever the method used to "embed" the file, the viewers Web browser still has to has a Windows Media Player plug-in in order to play a Windows Media Audio file (.wma).
IE, being part of Windows comes with the required plugin to play .wma. But a new install of FF, even on a Windows machine, needs to have the plugin installed before it can play .wma files, as would Safari run on a Mac or Windows.
This whole situation makes a good case for using a media type which has broad cross browser support, which .wma and .wmv do not. Currently Flash is by far the most widely used media type because of it's pugin is already installed in nearly all Web browsers.
Best wishes,
Eye for Video
www.cidigitalmedia.com
johnf
02-05-2010, 11:03 AM
Yeah thanks. I am trying to play MP3 files and my browser (firefox) defaults to Quicktime. Strangely, it will not work when located on my computer, but it does work when hung on the internet. Very strange and I can't explain it, but the problem appears to be solved.
Major Payne
02-09-2010, 09:55 PM
Firefox only uses Quicktime as any browser would if the file extension has been associated with that particular program. If you do not want FF to call Quicktime, use its Options to reset the program you wish it to use.