HTML Attribute for
# of loops
LOOP indicates how many times to play the sound or movie. In general,
LOOP indicates if the sound or movie should (
TRUE) or should not (
FALSE) loop continuously.
For sounds, both MSIE and Netscape recognize
FALSE is the default.
Netscape also allows you to loop a finite number of times.
(For MSIE use
This code tells Netscape to play the sound three times. MSIE plays the sound continuously.
You can combine this with MSIE's
PLAYCOUNT attribute (which in MSIE takes precedence over
LOOP) to tell both browsers to loop three times:
LOOP can be set to
FALSE for movies.
We have found in researching
LOOP that Netscape has several inconsistencies among media types. For example, we have not been able to get MPEGs for loop reliably. As with everything involving
<EMBED ...>, be careful what you rely on.
<EMBED PLAYCOUNT="..."> >