Microsoft's Internet Explorer allows the user to embed .AVI (Audio Video Interleave) video clips in HTML documents. This is done by adding several new attributes, notably DYNSRC (Dynamic Source) to the <IMG> element. Using the IMG element for this purpose makes it possible to add video clips to pages, but also have non video enabled browsers display still images in their place.

NOTE : In future versions of the Internet Explorer, proprietary additions by Microsoft are to be deprecated (i.e. their support will be removed) in favour of open standard mechanisms for the embedding of objects, such as video and executable content (See <OBJECT>). Netscape can support the embedding of video clips through its plug-in mechanism using the <EMBED> element.

DYNSRC
This attribute specifies the address of a video clip to be displayed in the window. It stands for Dynamic Source.

<IMG SRC="filmclip.gif" DYNSRC="filmclip.avi">

Internet Explorer will display the movie "filmclip.avi"; other browsers will display the image "filmclip.gif"

The attributes used to control the playing of the video clip are as follows.

START
This attribute specifies when the video clip should start playing. It accepts values of FILEOPEN or MOUSEOVER. FILEOPEN means that the video will start playing as soon as it has finished downloading from the web server, or distribution source. This is the default value. MOUSEOVER means start playing when the user moves the mouse cursor over the animation. It is possible to specify both of these values together.

CONTROLS
This attribute has no values. It is a flag that if set, displays the standard Windows AVI control panel to allow the user to control the display of the video clip.

LOOP
Specifies how many times a video clip will loop when activated. If n=-1, or if LOOP=INFINITE is specified, the video will loop indefinitely.

LOOPDELAY
Specifies, in milliseconds, how long a video clip will wait between play loops.

NOTE : As seen in the first example on this page, because the DYNSRC is an attribute of the <IMG> element, other attributes of the IMG element, such as HEIGHT, WIDTH, HSPACE, VSPACE, BORDER etc., are also acceptable and if specified, will format the display window for the video clip.


Client Side Image Maps Image Elements Overview In Line VRML