Introduction to HTML
Audio
Inline Embedded Audio Files
Copyright © 2000 - 2002 Randy D. Ralph.  All rights reserved.

  RETURN Forms   Course Contents  
In place May 27, 2000.

The playback console below is produced in the Netscape browser by
the <EMBED> command (see the IExplorer version) -
<EMBED src="../sounds/midi/maple.mid" autostart=false 
       controls=console width=145 height=60 loop=true 
       volume=75 mastersound>

The Maple Leaf Rag by Scott Joplin

Within the Netscape browser it is necessary to supply the height and width in pixels which match the size of the display console used.  If these parameters are included, the display may not work well in the Internet Explorer browser. Within the Internet Explorer browser it is best to omit the height and width parameters.  This may not work well in the Netscape browser. These disparities in rendering between the two major browsers make placing inline audio files using the <EMBED> command problematic.

Additionally, the use of the <EMBED> command may be disallowed if the browser is working behind a firewall, such as from within a corporate Intranet, because the command allows any file to be embedded, including files which may contain viruses.


You are here:  Intro to HTML   »   Audio   »   <EMBED<>   »   Inline <EMBED>   «