Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: EVENT
*Next Topic: MOREINFO

LOGO Element

Specifies a graphic file to display as a logo.

Syntax

<LOGO
   HREF="URL"
   STYLE= "ICON" | "MARK"
/>

Attributes

HREF (required)
Specifies the URL to a graphic file that will display as a logo.
STYLE (required)
Specifies how the logo displays. Possible values include the following.
ICON The logo appears as an icon on the display panel, next to the title of the show or clip.
MARK The logo appears in the lower right corner of the video area while the Microsoft® Windows Media™ Player control is connecting to a server and opening a piece of content.

Parent/Child Information

Parent elements ASX, ENTRY
Child elements None

Remarks

This element specifies a graphic file to display as a logo. The logo is associated either with a single clip (when the LOGO element is the child of an ENTRY element) or with an entire show (when the LOGO element is the child of an ASX element). The logo's appearance depends on the value of the STYLE attribute.

If the STYLE attribute equals ICON, the logo replaces the icon that appears on the display panel next to the show title or clip title. (Normally, this is the icon associated with the file or stream type.) An ICON-style logo displays for the duration of the clip when associated with an ENTRY element, and for the duration of the entire show when associated with an ASX element.

If the STYLE attribute equals MARK, the logo appears in the lower right corner of the video area (allowing for a six pixel border) while the Windows Media Player is connecting to a server and opening a piece of content. The graphic is not displayed once the content begins playing. A MARK-style logo must be associated with a show, not a clip (that is, the LOGO element must be the child of an ASX element rather than an ENTRY element).

Logo formats are as follows, with all sizes in pixels:

ICON 16 height x 16 width
MARK 32 height x 80 width

The Windows Media Player supports GIF, BMP, and JPG graphic formats.

Example

<LOGO HREF="http://samples.microsoft.com/art/logo1.gif" STYLE="ICON" />

Top of Page Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.