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@[168.191.230.82]>
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" 
HEIGHT="144"
	CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
	<PARAM name="SRC" VALUE="Songs/come_together.mp3">
	<PARAM name="AUTOPLAY" VALUE="true">
	<PARAM name="CONTROLLER" VALUE="true">
	<EMBED SRC="Songs/come_together.mov" WIDTH="300" HEIGHT="80" 
AUTOPLAY="true" CONTROLLER="true"
 
	PLUGINSPAGE="http://www.apple.com/quicktime/download/" 
qtsrc="Songs/come_together.mp3">
	</EMBED>
</OBJECT>

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, 
<http://www.cascadewebdesign.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:50 GMT