IHTMLImgElement::get_loopIHTMLImgElement::get_loop*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLImgElement::put_loop
*Next Topic: IHTMLImgElement::put_align

IHTMLImgElement::get_loop


HRESULT get_loop(
    VARIANT *p
);

Retrieves the number of times a video loops when activated.

p
Value specifying the number of times to loop. If this parameter receives -1 (infinite), the video will loop continuously.

Below are descriptions on how loop works for some boundary cases.
<BGSOUND src="file:///c:\win95\system\msremind.wav"> once
<BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP> once
<BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=> zero times
<BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=-1> infinitely
<BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=0> once

See also put_loop

Up Top of Page


IHTMLImgElement::put_loop


HRESULT put_loop(
    VARIANT v
);

Sets the number of times a video will loop when activated.

v
Value specifying the number of times to loop. If this parameter is -1 (infinite), the video will loop continuously.

Below are descriptions on how loop works for some boundary cases.
<BGSOUND src="file:///c:\win95\system\msremind.wav"> once
<BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP> once
<BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=> zero times
<BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=-1> infinitely
<BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=0> once

See also get_loop


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.