Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Attributes for <EMBED ...>
STARTTIME
ENDTIME

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 produces this
<EMBED 
    SRC="1812over.mid"
    WIDTH=144 HEIGHT=60
    STARTTIME="00:11" 
    ENDTIME="00:16"
    >

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.

 
 
  Copyright 1997-2002 Idocs inc. Published under the terms of the Open Content License Design by Interspire