Export (0) Print
Expand All

ITIMEMediaElement::mediaDur Property

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

Gets the duration of the element's media file.

Syntax


HRESULT ITIMEMediaElement::get_mediaDur(double *dur);

Parameters

dur
Pointer to a variable of type double that receives the media file's duration, in seconds.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This property might not be available until the object fires the onmediacomplete event.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft