Contents Index Topic Contents | |
Previous Topic: TITLE Next Topic: Windows Media Player Plug-in for Netscape Navigator |
Samples
This section contains samples that demonstrate how to place the Microsoft® Windows Media™ Player control in a Web page. You can view the source HTML of these samples to see how the Media Player control is positioned on the page and controlled by scripts. They can also be used as starting points for the design of your own multimedia web pages.
The samples are divided into the following categories.
Faceplate Samples
The following samples implement basic and more advanced Windows Media Player user interfaces with HTML application faceplates.
Sample Description Simple Faceplate This short sample embeds the Windows Media Player control object in an HTML file. Basic Controls This sample shows how to create graphical buttons for a custom Windows Media Player interface. It also shows how to link dynamic HTML (DHTML) events to scripts that control the Windows Media Player. DVD Samples
The following samples demonstrate DVD-Video playback through the Windows Media Player control.
Important To view these samples, your system must be capable of DVD-Video playback and have the Microsoft® DirectShow® drivers installed.
Sample Description Simple DVD-Enabled Web Page This sample features DVD-Video playback through an embedded Windows Media Player control, using DVD playback methods and a simple user interface (UI). Advanced DVD User-Interface Design This sample features DVD-Video playback through an embedded Windows Media Player control. A customized graphical user interface (GUI) is linked to scripting functions that control the DVD playback. DVD Overlay This sample demonstrates the potential of integrating 3-D content with DVD playback using a scripting language and the framework provided by Microsoft® Internet Explorer 5, the Microsoft Windows Media Player control, and Microsoft® DirectAnimation®. Closed Captioning Sample
The following sample shows how to add closed captioning to the Windows Media Player control.
Sample Description SAMI Closed Captioning Sample This sample shows how to use a Synchronized Accessible Media Interchange (SAMI) file to provide closed captioning in a multimedia presentation. This sample application embeds the Windows Media Player control in a Web page, and plays an ASF clip synchronized with text in a SAMI (.smi) file. Plug-in Samples
The Windows Media Player plug-in samples show how to embed the Windows Media Player control in a Web page with scripting that works correctly in browsers that support embedding, such as Netscape Navigator and Microsoft Internet Explorer.
The following table describes the plug-in samples.
Sample Description Sample1 This simple HTML application shows how to embed the plug-in in an HTML page so that the scripted page works in browsers that support embedding. Sample2 This HTML application shows how to use properties and methods exposed by the plug-in. Sample3 This sample application shows how handle events with basic scripting. Sample4 This sample shows more advanced scripting for event handling using external Microsoft® JScript® proxy files (.js). Sample5 This sample shows how to use JScript proxy files and Microsoft® Visual Basic® Scripting Edition (VBScript) on the same page. For more information about the plug-in samples, or to study or run the samples, see Windows Media Player Plug-in Samples.
Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.