Attribute for <IMG ...>
CONTROLS

Usage Recommendation
don't use it thumbs down

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:

Astronauts on the moon

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.





About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.