Compartilhar via


bufferingProgress Property

This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.

Gets a value that indicates the current percent of buffering completed.

Syntax

HTML N/A
Scripting [ ibufferingProgress = ] object.bufferingProgress

Possible Values

ibufferingProgress Integer that receives the current percent of buffering completed.

The property is read-only. The property has no default value.

Remarks

bufferingProgress was introduced in Microsoft Internet Explorer 6.

This property applies only to objects with streaming content.

Example

The following example demonstrates how to retrieve the current percent of buffering completed, provided that the media file allows streaming content. By setting the syncBehavior attribute to locked, the parent timeline does not progress until the media object is ready to be played.

<HTML xmlns:t= "urn:schemas-microsoft-com:time">
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
    .time{behavior:url(#default#time2)}
</STYLE>
<BODY>        

<t:media id="mp2" src="/directory/file.asx" syncBehavior="locked" timeAction="display"/>

<P>Buffering Progress: 
    <SPAN class="time" dur="0.1" repeatCount="indefinite"
        onrepeat="innerText=mp2.bufferingProgress;">0</SPAN>
</P>
</BODY>
</HTML>

Applies To

t:ANIMATION, t:AUDIO, t:IMG, t:MEDIA, t:REF, t:VIDEO

See Also

Introduction to HTML+TIME