Windows Media Player SDK banner art
PreviousNext

Custom Graphics in Windows Media Player

With Windows Media metafile scripting, you can add graphics elements to Windows Media Player as the stream plays. There are two basic types of graphics you can add.

Type Description
BANNER Using the BANNER element you can place a banner (32 pixels high by 194 pixels wide ) image on Windows Media Player at the bottom of the video display area. You can then use a child element to add a hyperlink to the banner.
LOGO By setting the STYLE attribute of the LOGO element to ICON, you can place a small (16 pixels x 16 pixels) image next to the Title of the Show, or next to the Show status on Windows Media Player. This graphic replaces the icon next to the Show title when within the ASX element scope, and it replaces the graphic next to the Clip title when within an element scope.

By setting the STYLE attribute of the LOGO element to MARK, you can display a graphic that is 82 pixels wide and 30 pixels high. The parent element of the LOGO element must be ASX. The MARK STYLE graphic is displayed in the lower right corner of the video display area (allowing for a six-pixel border). This graphic is displayed before and after the clip plays.

The LOGO element is supported by Windows Media Player version 6.4. The LOGO element is not supported by later versions of Windows Media Player.


Example Code

<LOGO href = "http://myserver/mypath/msdtx.ico" STYLE = "ICON" />
<LOGO href = "http://myserver/mypath/msdtx.ico" STYLE = "MARK" />

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.