Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: embedding a midi file using the object tag


Message #1 by "Jude Camville" <jcamville@y...> on Tue, 27 Nov 2001 19:21:15
I want to embed a midi file into a web page so that the user can see 
play\stop controls. Previously I did this using the "embed" tag:

<embed src="P5D.mid">

This worked intermittently in some versions of IE, and never in Netscape 
or Opera. Now I've been told that the embed tag is obsolete, and that I 
should use the "object" tag instead. How do I do that?

This is what I tried:
<object data="P5D.MID" type="audio/mid"></object>

But nothing appears on the page. Can anyone help?

  Return to Index