Share via


hasDownloadProgress property

Gets a Boolean value that indicates whether a media file has started to download.

Syntax

JScript
b = object.hasDownloadProgress

 

Property values

Type: Boolean

One of the values in the Property Values section.

Remarks

hasDownloadProgress was introduced in Microsoft Internet Explorer 6.

Examples

In this example, hasDownloadProgress returns false if the media file does not initiate downloading. The hasDownloadProgress property returns true as soon as the media file begins to download.

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

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

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

See also

animation

audio

img

media

ref

video

Introduction to HTML+TIME