Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Attribute for <IMG ...>

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.

  Copyright 1997-2002 Idocs inc. Published under the terms of the Open Content License Design by Interspire