Name

LOOP — NN n/a IE 3 HTML n/a

Synopsis

LOOP=”loopCount"

Optional

If you specify a video clip with the DYNSRC attribute, the LOOP attribute controls how many times the clip should play (“loop”) after it loads. If you set the value to zero, the clip loads but does not play initially. Video clips that are not currently running play when the user double-clicks on the image, but you may need to provide instructions for that on the page because there are no other obvious controls.

Example

<IMG DYNSRC="snowman.avi" LOOP=3 HEIGHT=100 WIDTH=150>

Value

Any positive integer or zero.

Default

1

Object Model Reference

IE

[window.]document.imageName.loop

[window.]document.images[i].loop

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.