Export (0) Print
Expand All
end
src
src
URL
Expand Minimize

hasDownloadProgress Property

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

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

Syntax

HTML N/A
Scripting [ bhasDownloadProgress = ] object.hasDownloadProgress

Possible Values

bhasDownloadProgress Boolean that receives one of the following values.
false
Default. File has not started to download.
true
File has started to download.

The property is read-only. The property has a default value of false.

Remarks

hasDownloadProgress was introduced in Microsoft Internet Explorer 6.

Example

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.


<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="http://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>

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

Applies To

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

See Also

Introduction to HTML+TIME

Community Additions

ADD
Show:
© 2014 Microsoft