View Full Version : Embedding MP3s


Stormx
01-13-2004, 05:58 PM
Hey, I'm just wondering if someone knows IF you can embed MP3s, and If you can, how widely supported is it?

I thought of this code:

<embed src="MP3.mp3"></embed>

If this won't work, can someone prehaps suggest a way it might?

Thanks

Stormx

bellportal
01-13-2004, 06:08 PM
That is the base code, yes, but I think you may have to add to that. Check Lissa's site - I'm sure I've read about embedding somewhere.

EDIT: Or you could search the forum!

spikemeister
01-13-2004, 06:24 PM
You can use this, hope it works :)
<EMBED src="file.mp3" autostart=true hidden=true>

Hope that helps!

Not sure about support for it

MaGiCSuN
01-13-2004, 06:45 PM
hope this helps :)

on the following page you see a table full of atributes that are supported by both browsers (ie and netscape) and what not:

http://www.webreference.com/js/column20/embed.html

found on another site:

First let me start off by saying that this tag is not a standard W3C compliant tag. It is, however, supported in Netscape and Internet Explorer, which is why this tutorial exists

and here more about the embed tag:

http://www.itts.ttu.edu/documentation/html/tags/embed.html

Love,
Mirna

Stormx
01-14-2004, 06:16 PM
Don't advertise. Joke.

Thanks, I'll see if it works.

babyxchix637
05-01-2004, 03:02 AM
does it have to b MP3? could it b .wma?

elfenheroin
05-01-2004, 05:41 AM
So far as I know, yes.

stargrl329
05-01-2004, 08:19 PM
Is there any W3C-compliant or cross-browser way to embed music? I'd like to use an .rm file on my site, but want it to be supported by Mozilla and Opera as well.