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

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

From: James Wilkinson <james.wilkinson@oregan.net>
Date: Fri, 22 Feb 2002 10:37:12 -0000
To: "Baiss Eric Magnusson" <cascades@earthlink.net>, <www-html@w3.org>
Message-ID: <GEEMJJGKDOJCMPDPGIEIAEIACPAA.james.wilkinson@oregan.net>
How about :

  <OBJECT TYPE="audio/mpeg" SRC="Songs/Come_Together.mp3">

    <EMBED Type="audio/mpeg" SRC="Songs/Come_together.mp3>

  </OBECT>

If the browser can't support the OBJECT tag, it could fall back to the EMBED
tag.

Regards,
James

>  -----Original Message-----
>  From: www-html-request@w3.org [mailto:www-html-request@w3.org]On Behalf
>  Of Baiss Eric Magnusson
>  Sent: 20 February 2002 19:51
>  To: www-html@w3.org
>  Subject: Why is neither an OBJECT or an EMBED tag capable of playing
>  MP3's
>
>
>  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 Friday, 22 February 2002 05:34:12 GMT

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