Microsoft ASP.NET Futures (July 2007): Using the Media Control
This sample shows:
- The
Media control and built-in skins.
- The
Chapters collection property.
To run this sample, your browser requires the latest release of Silverlight. If the
browser does not have the correct version of Silverlight, the Xaml and Media
controls automatically render placeholder UI that your end-user can click to install Silverlight.
The ASP.NET Futures (July 2007) release introduces a number of changes to the
Media server control and the Sys.Preview.UI.Xaml.Media.Player
client JavaScript component. For details, see Using the Media Control.
Example 1: Using the Media Control and Chapter Information
The Media control enables you to define chapter information
for a video. Chapter details specify a time and a placeholder image and are
displayed wth a pre-built skin. The following example shows how to use the
Chapters collection.
In this example, the skin automatically detects that a chapters collection is defined, and generates
additional UI to interact with it. When you hold the mouse pointer just below the video screen,
a list of chapters will be displayed. If you click on a chapter, the video will navigate to that chapter.