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

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 UTC