|
Displaying Television Broadcasts in Web Pages June 09, 1999
There are two main components of an interactive television show. The first is the interactive TV link that is broadcast with the TV program (see Creating Interactive TV Links). The second is the Web content specified by those links. When interactive TV content originates from the Web, it is essential to make sure the video is displayed properly in the Web page. To do this, you need to use Hypertext Markup Language (HTML) extensions designed specifically for interactive TV to define how and where the video should appear within the Web page. When creating Web content for interactive TV shows, consider developing for both the TV and computer receivers, in order to reach a wider audience. The HTML extensions described in this article were created specifically for displaying content on WebTV-based Internet Receivers, and are not needed for display in Microsoft® WebTV® for Windows®. Web pages that contain these extensions can also be displayed on WebTV for Windows, but the extensions are ignored. For examples of code designed to work on any supported receiver, see Microsoft's Interactive Television Web site.
ContentsHTML Extensions for Interactive TVTechnical descriptions of the code used to define the video components of Web pages that are a part of interactive TV shows. Creating Web Pages with Live Television ComponentsTechnical instructions for creating Web pages that contain live TV broadcasts. HTML Extensions for Interactive TelevisionBecause interactive television involves displaying Web content and television simultaneously, we need to help the receiver determine how to display the information. Web pages are created using HTML, which is a collection of tags that describe how to handle the information between the tags. We have created two new components (also called extensions) that are used in the HTML of Web pages that will display TV. One tells the receiver if it should display information as TV or as Web content. The other defines the package of files that make up the interactive TV program and tells the receiver where to find it. The View AttributeIn HTML, an attribute is a component of HTML that modifies a tag.
For example, the
An anchor tag, or other selectable item, may contain a
If you follow this link from a TV program by selecting the interactive TV link icon, the display will change from TV mode to Web mode, which is the only way to display Web pages on a WebTV-based Internet Receiver. Note: If the CDF Files and the Link TagBecause interactive TV programs usually consist of many Web pages and graphics, they can be listed in a single file so the receiver can preload pages and store them locally when content is delivered via a direct Internet connection. These files are defined by the Channel Definition Format (See, CDF
W3C Proposal), and have the file extension The CDF file that contains the interactive TV content is referenced
via an HTML
Channel Definition Format ExampleIn this example, "http://webtv.net/superpkg.cdf" is the Uniform Resource Locator (URL) address of the interactive TV link. When the receiver sees this URL it retrieves the "superpkg.cdf" file and reads it. It then downloads everything listed in that CDF file (including all dependent resources, like images) and stores them locally (often in a cache). Example:
Creating Web Pages with Live Television ComponentsIt's easy to create compelling interactive TV shows by integrating live TV broadcasts in your Web pages. To do this, you use HTML tags that tell the receiver how to display the TV. The result is seamless, fully integrated interactive programming. Technical InformationWhen you create interactive television programming, you are introducing relevant Web content into the television experience, not simply inserting a random TV show into a Web page. This means coordination between the TV broadcast and the Web pages. On a WebTV-based Internet Receiver, you need to do two things to successfully show a Web page with live TV to your television audience:
Defining TV in Web Pages with the
|