February 15, 1999
Any media player that supports the ITIMEMediaPlayer interface can be used as an HTML+TIME media element. As such, the player can support HTML+TIME media, and its media content can be integrated with the rest of the timing on an HTML+TIME page.
An HTML+TIME author can specify that any media file use a particular media player for playback, as long as the specified media player implements the ITIMEMediaPlayer interface. The following example shows how to do this.
<t:VIDEO STYLE="behavior:url(#DEFAULT#TIME)" t:BEGIN="5" t:SRC="http://example.microsoft.com/vidfile1.avi" t:PLAYER="GUID_of_VIDEOPLAYER1" /> <t:VIDEO STYLE="behavior:url(#DEFAULT#TIME)" t:BEGIN="5" t:SRC="http://example.microsoft.com/vidfile2.avi" t:PLAYER="GUID_of_VIDEOPLAYER2" /> <t:AUDIO STYLE="behavior:url(#DEFAULT#TIME)" t:BEGIN="0" t:SRC="http://example.microsoft.com/audfile1.wav" t:PLAYER="GUID_of_AUDIOPLAYER1" /> <t:AUDIO STYLE="behavior:url(#DEFAULT#TIME)" t:BEGIN="0" t:SRC="http://example.microsoft.com/audfile2.wav" t:PLAYER="GUID_of_AUDIOPLAYER2" />
The following topics describe the methods that media players must implement or use to support HTML+TIME: