Partager via


latestMediaTime 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 latest time for efficient seeking.

Syntax

HTML N/A
Scripting [ vlatestMediaTime = ] object.latestMediaTime

Possible Values

vlatestMediaTime Variant that receives the latest efficient seek time.

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

Remarks

latestMediaTime was introduced in Microsoft Internet Explorer 6.

This method is intended for seeking in media streams that might have excessive latency, such as streams sent over a network. The returned values indicate cached data that has already arrived, which can be easily seeked. It is assumed that seeking to values beyond these returned parameters will cause a delay while the application waits for the data to arrive.

Example

...
<t:video id="mp2" fill="remove"
    src="https://msdn.microsoft.com/workshop/samples/author/behaviors/media/movie.avi"/>
<P>
<B>Latest Media Time</B>: 
    <SPAN class="time" dur="0.1" repeatCount="indefinite"
        onrepeat="innerText=mp2.latestMediaTime;">0</SPAN>
</P>
...

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

Applies To

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

See Also

Introduction to HTML+TIME, earliestMediaTime