HBCMS更多的中文手册参考:

ITIMEMediaPlayer::mediaDur参数属性

DHTML中文手册

Retrieves the duration of the element's media file.

dhtml语法

HRESULT ITIMEMediaPlayer::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 is only relevant for people who are writing a custom player for HTML+TIME (Timed Interactive Multimedia Extensions).