HTML and CSS Reference
In-Depth Information
Because all other browsers currently ignore the special Internet Explorer
attributes for movies, they may become confused by an
<img>
tag that
does not contain the otherwise required
src
attribute and an image URL.
We recommend that you include the
src
attribute and a valid image file
URL in all
<img>
tags, including those that reference a movie for Inter-
net Explorer users. The other browsers display the still image in place of
the movie; Internet Explorer does the reverse and plays the movie, but
does not display the image. Note that the order of attributes does not
matter. For example:
<img dynsrc="movies/intro.avi" src="pics/mvstill.gif">
Internet Explorer loads and plays the AVI movie
intro.avi
; other graph-
ical browsers will load and display the
mvstill.gif
image instead.
5.2.7.2. The controls attribute
Normally, Internet Explorer plays a movie inside a framed viewport
once, without any visible user controls. Although no longer supported in
Internet Explorer version 5 or later, with older versions of the browser
the
controls
attribute (no value) enabled users to restart, stop, and con-
tinue the movie by clicking inside that viewport with the mouse. If the
movie clip includes a soundtrack, the earlier Internet Explorer provided
an audio volume control as well. For example:
<img dynsrc="movies/intro.avi" controls src="pics/mvstill.gif">
5.2.7.3. The loop attribute
Internet Explorer normally plays a movie clip from beginning to end
once, after download. The
loop
attribute for the movie
<img>
tag lets you
have the clip play repeatedly for an integer number of times set by the