Attribute for <IMG ...>
DYNSRC = "URL"

Usage Recommendation
don't use it thumbs down

DYNSRC (short for DYNnamic SouRCe) loads a movie file instead of a still picture file. Browsers that recognize DYNSRC will ignore SRC, so you can use both in the same tag.

This code loads an MPEG file (MPEG is one of the major formats for movie files; AVI is another major format):

<IMG SRC="../graphics/moonflag.gif" DYNSRC="../graphics/moonflag.mpg" ALT="Astronauts on the moon">

which produces this movie:

Astronauts on the moon

By default, the movie plays once as soon as the page is loaded, so even if your browser recognizes DYNSRC, you probably just see a still picture (the last frame of the movie). Usually clicking or double-clicking will restart the movie.

The attributes CONTROLS, LOOP, and START can be used to modify the behavior of the movie.

Do not use DYNSRC in the same tag as LOOP. There are inconsistent and unpredictable results as to which attribute takes precedence. Note also that we left out the HEIGHT and WIDTH attributes. These attributes are inconsistently rendered for movies. In particular, if you use the CONTROLS attribute, Internet Explorer will squeeze the movie vertically to fit the controls in the allotted height.





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.