Share via


downloadCurrent property

Gets a value that indicates the current number of bytes downloaded from streaming content.

Syntax

JScript
p = object.downloadCurrent

 

Property values

Type: Variant

Integer that receives the current number of bytes downloaded from streaming content.

Remarks

downloadCurrent was introduced in Microsoft Internet Explorer 6.

This property applies only to streaming content.

Examples

The following example demonstrates how to get the current number of bytes downloaded from 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>DownloadCurrent: 
    <SPAN class="time" dur="0.1" repeatCount="indefinite"
        onrepeat="innerText=mp2.downloadCurrent;">0</SPAN>
</P>

</BODY>
</HTML>

See also

animation

audio

img

media

ref

video

Introduction to HTML+TIME