W3C home > Mailing lists > Public > www-html@w3.org > February 2002

Why is neither an OBJECT or an EMBED tag capable of playing MP3's

From: Baiss Eric Magnusson <cascades@earthlink.net>
Date: Wed, 20 Feb 2002 14:51:19 -0500 (EST)
Message-Id: <p05101403b899acf0a767@[]>
To: www-html@w3.org
I have been reading about the use of the OBJECT and EMBED tags, and 
at first it seems to imply that the following HTML code on a page is 
the correct way to play a MP3 file, but such is not the case.

<OBJECT NAME="Come_Together" 
CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="160" 
	<PARAM name="SRC" VALUE="Songs/come_together.mp3">
	<PARAM name="AUTOPLAY" VALUE="true">
	<EMBED SRC="Songs/come_together.mov" WIDTH="300" HEIGHT="80" 

Only a <a...> tag seems to produce the desired affect, which is to 
play the music through a player, which in the in my case is the 
Quicktime Player.

	<p><a href="Songs/come_together.mp3" type="audio/mpeg"> 
<B>Start Playback...</B></a></p>

Baiss Eric Magnusson	| cascades@earthlink.net
Cascade Web Design		| Software Design and Consulting, 
32307 NE 193rd St.		| Specializing in WebObjects & Java
Duvall, WA. 98019-9745	| 425-788-2394

  "Information is the currency of democracy."
      - Thomas Jefferson
Received on Wednesday, 20 February 2002 23:15:18 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:59 UTC