Platform SDK: Broadcast Architecture |
To add video to an enhancement page using the Enhancement Video control, place an instance of the control in the HTML page in the location where you want the video to appear. The INTENT parameter of the control instance must be set to the value ENHANCE_VIDEO.
You can add an instance of the Enhancement Video control to your enhancement page by using HTML code such as the following:
<OBJECT ID=Vid CLASSID="clsid:a74e7f00-c3d2-11cf-8578-00805fe4809b" BORDER=0 VSPACE=0 HSPACE=0 ALIGN=TOP HEIGHT=100% WIDTH=100% > <PARAM NAME="INTENT" VALUE=ENHANCE_VIDEO> </OBJECT>
To see an example of how Microsoft® WebTV™ for Windows® uses the Enhancement Video control, view the source code for the Video.htm and Msvideo.htm. Msvideo.htm displays full-screen video. Video.htm, which is encapsulated by the frames of Msvideo.htm, displays video using the Enhancement Video control. By default, these files are installed in the C:\Program Files\TV Viewer\Layouts\ directory.
Note that the value FULL_SCREEN_VIDEO for the INTENT parameter is reserved for use by the default full-screen video page of WebTV for Windows. This use is the only situation in which INTENT should be set to this value. Enhancement files must always set INTENT to ENHANCE_VIDEO.