/    Sign up×
Community /Pin to ProfileBookmark

music in firefox

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

[code=html]<embed src=”/chem/01.wma” autostart=”true” width=”176px” height=”160px” loop=”false”></embed>[/code]

which doesn’t do anything in firefox, although it works fine in IE.
Any ideas?

to post a comment
HTML

6 Comments(s)

Copy linkTweet thisAlerts:
@Major_PayneApr 05.2007 — 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

Ron
Copy linkTweet thisAlerts:
@johnfFeb 05.2010 — 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
Copy linkTweet thisAlerts:
@Eye_for_VideoFeb 05.2010 — 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
Copy linkTweet thisAlerts:
@johnfFeb 05.2010 — 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.
Copy linkTweet thisAlerts:
@Major_PayneFeb 10.2010 — 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.
×

Success!

Help @gooncorp spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.1,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...