latestMediaTime property

Gets a value that indicates the latest time for efficient seeking.

Syntax

JScript
b = object.latestMediaTime

 

Property values

Type: Variant

the latest efficient seek time.

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.

Examples

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


...
<t:video id="mp2" fill="remove"
    src="http://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>
...

See also

animation
audio
img
media
ref
video
Reference
earliestMediaTime
Conceptual
Introduction to HTML+TIME

 

 

Show: