Attribute for <IMG ...>
CONTROLS
Usage Recommendation |
don't use it |
CONTROLS
, puts a set of controls below the movie so that the user has control over when the movie is played. Every browser has a different set of controls, but all browsers that play movies least have a little button which indicates "play" to play the movie.
This code
<IMG
SRC="../graphics/moonflag.gif"
DYNSRC="../graphics/moonflag.mpg"
CONTROLS ALT="Astronauts on the moon">
produces this movie:
Unfortunately, CONTROLS
seems to have disappeared from MSIE version 4. If you use the
HEIGHT
and WIDTH
attributes, your movie will always have the proportions wrong in either MSIE 3 or MSIE 4, so it's probably best to leave CONTROLS
out.