Gets or sets the current playback position, in seconds.
HRESULT IHTMLMediaElement::get_currentTime(float *p);HRESULT IHTMLMediaElement::put_currentTime(float v);
- Pointer to a variable of type float that receives the current playback position, in seconds.
- float that specifies the current playback position, in seconds.
Returns one of the following values.
S_OK The operation completed successfully. W3CException_DOM_INVALID_STATE No media source was selected. W3Exception_DOM_INDEX_SIZE_ERR p is outside the range that the player can seek.
Setting IHTMLMediaElement::currentTime seeks to a specific position in a media resource.