![]() |
Previous | Next |
A border is similar to a skin, but instead of replacing the user interface for the compact mode of Windows Media Player, a border is embedded in the Now Playing pane of the full mode Windows Media Player.
By using the Windows Media Download file format (WMD), you can include content with a border, paving the way to multimedia applications.
A sample WMD file that includes a border and embedded content is included in the samples directory of this SDK.
A border is created the same way as a skin. The only difference is that the skin is embedded inside the Now Playing pane. This means that the skin size cannot be calculated and that all skin elements must be relative. If the end user resizes Windows Media Player, portions of the border may be clipped off and not seen.
A border is loaded when a Windows Media metafile that uses the SKIN element is loaded. The HREF attribute of the SKIN element must reference a skin. A typical SKIN element would look like this:
<SKIN href="myborder.wmz">
For more information, see SKIN Element.
You can include content with a border by using the Windows Media Download file format (WMD). Follow these steps:
After you have created the Windows Media Download file, all that the end user has to do is double-click on it. The file will be downloaded to the end user's computer. The files inside the package will be unpacked, the playlist will be added to the playlists, the border will appear in the Now Playing pane of the full mode Windows Media Player, and the first item on the new playlist will begin playing.
To see a sample of a complete working border, click the Start button, then point to Programs, then Windows Media, and then click Windows Media Player SDK samples. You must first install the Windows Media Player SDK to use the samples. If you have not already installed it, click the following link:
Install Windows Media Player SDK
Previous | Next |