ITIMEMediaPlayer::mediaDur Property | Internet Development Index |
Retrieves the duration of the element's media file.
Syntax
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).