Name

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

Synopsis

Read/Write

The number of times the sound plays. Assigning a value of -1 means the sound plays continuously until the page is unloaded.

Example

document.all.mySound.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.