Jaa


downloadTotal property

Gets a value that indicates the total size (in bytes) of the downloaded file.

Syntax

JScript
p = object.downloadTotal

 

Property values

Type: Variant

Integer that receives the total size (in bytes) of the downloaded file.

Remarks

downloadTotal was introduced in Microsoft Internet Explorer 6.

Examples

This example demonstrates how to get the size (in bytes) of the downloaded file by using the downloadTotal property.

Code example: http://samples.msdn.microsoft.com/workshop/samples/author/behaviors/downloadtotal.htm

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

<BODY>        

<t:video id="mp2" 
    src="https://msdn.microsoft.com/workshop/samples/author/behaviors/media/movie.avi"/>
<P>
DownloadTotal: 
    <SPAN class="time" dur="0.1" repeatCount="indefinite"
        onrepeat="innerText=mp2.downloadTotal;">0</SPAN>
</P>
</BODY>
</HTML>

See also

animation

audio

img

media

ref

video

Introduction to HTML+TIME