Re: object tag

You need 
  type="audio/wav"

For IE there is a bug, so you also need to include width="20" height="20" (or
some other numbers).

cheers

Charles

On Mon, 25 Oct 1999, jonathan chetwynd wrote:

  On a number of occasions I have tried to use the object tag to play a wav
  file.
  
  I use IE4 or IE5 (and Netscape occasionally)
  
  <bgsound src="mysounds.wav">
  
  works fine, but is not HTML #4 compliant.
  
  ----
  
  Please could someone advise me how to get this working using the object tag,
  at least with IE4.
  
  <OBJECT data="mysounds.wav"type="mime type">Phoebe says "mysounds"</OBJECT>
  
  does not.
  
  Jonathan Chetwynd
  jay@peepo.com
  
  Search the www with pictures at
  www.peepo.com
  
  Send us your links
  We value your comments
  

--Charles McCathieNevile            mailto:charles@w3.org
phone: +1 617 258 0992   http://www.w3.org/People/Charles
W3C Web Accessibility Initiative    http://www.w3.org/WAI
MIT/LCS  -  545 Technology sq., Cambridge MA, 02139,  USA

Received on Sunday, 24 October 1999 19:48:03 UTC