HBCMS更多的中文手册参考:

ITIMEMediaPlayer::state参数属性

DHTML中文手册

Retrieves the current state of the media's timeline.

dhtml语法

HRESULT ITIMEMediaPlayer::get_state(TimeState *ts);

Parameters

ts
Pointer to a variable of type TimeState that receives one of the values listed in Possible Values.

DHTML可能的值

0Timeline is inactive.
1Timeline is active.
2Timeline is cueing the media file.
3Timeline is seeking the specified point in the media file.
4Timeline is holding on the current element, waiting for the parent element's timeline to end.

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).