This topic has not yet been rated - Rate this topic

loop property

Gets or sets a flag that specifies whether playback should restart after it completes. Playback restarts when this flag is present on an element, or set to true on an object. Playback doesn't restart when this flag is absent from an element, or set to false on an object.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.6Internet Explorer 9

Syntax

HRESULT value = object.put_loop( v);HRESULT value = object.get_loop(* p);

Property values

Type: VARIANT_BOOL

In a video or audio element, this attribute is true by its presence, false by its absence.

Standards information

Remarks

The presence of the loop attribute, regardless of assigned value, in either the audio or video element equals true (for example, <audio loop=""> is true).

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.