Confirmed users
1,396
edits
(clean-up on the cue text handling for video) |
|||
Line 267: | Line 267: | ||
IAccessibleTrack[] getVideoTracks(); | IAccessibleTrack[] getVideoTracks(); | ||
} | } | ||
interface IAccessibleMediaTrack : public IUnknown | |||
interface | |||
{ | { | ||
HRESULT kind; | HRESULT kind; | ||
Line 293: | Line 291: | ||
repeat from 1) | repeat from 1) | ||
It should be enough: | |||
<pre> | |||
interface IAccessibleMedia : public IUnknown | |||
{ | |||
/** | |||
* Return the current cue text. | |||
*/ | |||
[propget] HRESULT cueText( | |||
[out, retval] BSTR text); | |||
/** | |||
* Makes video paused when current cue end time is reached. | |||
*/ | |||
HRESULT pauseOnExit( | |||
[in] bool pause); | |||
} | |||
</pre> | |||
[Silvia interface] | |||
<pre> | <pre> | ||
interface IAccessibleTextTrackCue : public IUnknown | interface IAccessibleTextTrackCue : public IUnknown | ||
Line 310: | Line 327: | ||
} | } | ||
</pre> | </pre> | ||
===Text Descriptions and Subtitles for Video and Audio [Silvia description]=== | ===Text Descriptions and Subtitles for Video and Audio [Silvia description]=== |