HTML Attributes for <EMBED ...>

Usage Recommendation
Use it, but don't rely on it.

STARTTIME and ENDTIME indicate how far into the sound to start playing and how far in to stop. These attributes are Netscape extensions. STARTTIME does not indicate a delay before playing. Playing starts immediately after the user hits the play button, or if you use AUTOSTART, as soon as the sound is downloaded.

Consider, for example, a MIDI file of the "1812over.mid". Suppose that instead of playing all 1 minute 7 seconds, we just want those dramatic few seconds with the cannon booms. We could use the following code to indicate to play only the eleventh through sixteenth seconds of the music. Go ahead and hit the play button:

This Code Makes This

Notice the format used to indicate the time. The two digits before the colon (":") indicate minutes, the two digits after indicate seconds. If you indicate a start or end time which is longer than the entire duration of the sound then Netscape gives an error message. STARTTIME and ENDTIME are only implemented in Netscape for Windows 95, Windows NT, and Macintosh.