HTML and CSS Reference
In-Depth Information
attribute's value, or forever if the value is infinite . The user may still
cut the loop short by clicking the browser's Stop button or by moving on
to another document.
The following intro.avi movie clip will play from beginning to end, then
restart at the beginning and play through to the end nine more times:
<img dynsrc="movies/intro.avi" loop=10 src="pics/mvstill.gif">
Whereas the following movie will play over and over again, incessantly:
<img dynsrc="movies/intro.avi" loop=infinite src="pics/mvstill.gif">
Looping movies aren't necessarily meant to annoy. Some special-effects
animations, for instance, are a sequence of repeated frames or seg-
ments. Instead of stringing the redundant segments into one long
movie, which extends its download time, simply loop the single, com-
pact segment.
5.2.7.4. The start attribute
Normally, an Internet Explorer movie clip starts playing as soon as it's
downloaded. You can modify that behavior with the start attribute in
the movie's <img> tag. By setting its value to mouseover , you delay play-
back until the user passes the mouse pointer over the movie viewport.
The other valid start attribute value, fileopen , is the default: start play-
back just after download. It is included because both values may be
combined in the start attribute, to cause the movie to play back auto-
matically once, after download, and then whenever the user passes the
mouse over its viewport. When combining the start attribute values,
add a value-separating comma, with no intervening spaces, or else en-
close them in quotes.
 
Search WWH ::




Custom Search