banner art

genre attribute

The genre attribute specifies a type for the media element or collection of media elements. The genre attribute value is included in the content description list that is sent to the client. Windows Media Player displays the value when the media element or elements are played.

There is no standardized naming convention for creating and assigning genre names. You can create a custom naming scheme to categorize your digital media sources. Values specified for the genre attribute must be text strings.

In the following example, the genre attribute value Documentary is specified for the source file, IntroFile1.wma:

<?wsx version="1.0"?>
   <media id="intro" src="IntroFile1.wma">
	<clientData genre="Documentary"/>

The genre attribute can be specified for the following playlist element:

Note Image Notes

Related topics

© 2005 Microsoft Corporation. All rights reserved.