latestMediaTime Property (t:ANIMATION, t:AUDIO, t:IMG, ...)

HTML (DHTML)

latestMediaTime Property

Internet Development Index

Retrieves a value that indicates the amount of time it takes for a media object to begin playing.

Syntax

HTMLN/A
Scripting[ vlatestMediaTime = ] object.latestMediaTime

Possible Values

vlatestMediaTimeVariant that receives the amount of time it takes for a media object to begin playing.

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

Remarks

This property does not apply to objects with streaming content.

Example

...
<t:video id="mp2" fill="remove"
src="http://msdn.microsoft.com../../common/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>
...
This feature requires Microsoft?Internet Explorer 6 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Applies To

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

See Also

Introduction to HTML+TIME