Name

loop — NN n/a IE 4 DOM n/a

Synopsis

Read/Write

If you specify a video clip with the DYNSRC attribute, the loop property controls how many times the clip should play (loop). Changing to a value of -1 is equal to a continuous loop.

Example

document.movieImg.loop = 3

Value

Integer.

Default

1

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.