Partager via


Content Description Context

The content description context contains a name-value pair that describes the content being streamed to the client. This context lasts as long as the presentation exists. The following table identifies the context values defined by Windows Media Services. The values must be specified in either the content file header or a playlist before you can retrieve them.

Name

Value (data type)

Key

Description

album

String

14

Contains album information for the content. If the album attribute in the clientData element of a playlist is specified, the server uses it to override the album information retrieved from the file header by the media parser plug-in.

artist

String

15

Contains artist information for the content. If the artist attribute in the clientData element of a playlist is specified, the server uses it to override the artist information retrieved from the file header by the media parser plug-in.

author

String

2

Contains the name of the content author. If the author attribute in the clientData element of a playlist is specified, the server uses it to override the author information retrieved from the file header by the media parser plug-in.

bannerAbstract

String

16

Contains the text to be displayed as a ToolTip for the Windows Media Player banner graphic identified by the bannerURL property. If the bannerAbstract attribute in the clientData element of a playlist is specified, the server uses it to override the bannerAbstract property retrieved from the file header by the media parser plug-in.

bannerInfoURL

String

17

Contains the URL of the Web page that a user can access by clicking the Windows Media Player banner graphic identified by the bannerURL property. If the bannerInfoURL attribute in the clientData element of a playlist is specified, the server uses it to override the bannerInfoURL property retrieved from the file header by the media parser plug-in.

bannerURL

String

18

Contains the URL of a graphics file that is displayed in the Windows Media Player display panel beneath the video display. If the bannerURL attribute in the clientData element of a playlist is specified, the server uses it to override the bannerURL property retrieved from the file header by the media parser plug-in.

String

3

Contains the copyright for the content. If the copyright attribute in the clientData element of a playlist is specified, the server uses it to override the title copyright retrieved from the file header.

genre

String

19

Contains category information about the content. If the genre attribute in the clientData element of a playlist is specified, the server uses it to override the genre property retrieved from the file header by the media parser plug-in.

logURL

String

20

Contains a URL that identifies the location of logging statistics for the content. If the logURL attribute in the clientData element of a playlist is specified, the server uses it to override the logURL property retrieved from the file header by the media parser plug-in.

title

String

1

Contains the title of the content. If the title attribute in the clientData element of a playlist is specified, the server uses it to override the title retrieved from the file header by the media parser plug-in.

WMS_CONTENT_DESCRIPTION_SERVER_BRANDING_INFO

String

22

Contains a string used by media parser plug-ins to identify the server version to the client.

WMS_CONTENT_DESCRIPTION_DESCRIPTION

String

4

Contains a description of the content retrieved from the file header by the media parser plug-in.

WMS_CONTENT_DESCRIPTION_NO_SKIP

long

11

This property can equal either 1 or 0. If this property is 1, a client cannot fast forward, rewind, or skip the content.

WMS_CONTENT_DESCRIPTION_PLAYLIST_ENTRY_URL

String

6

Contains the URL for the content.

WMS_CONTENT_DESCRIPTION_RATING

String

5

Contains the content rating retrieved from the file header by the media parser plug-in.

WMS_CONTENT_DESCRIPTION_ROLE

String

7

Contains role information for the content. This value is specified by the role attribute of a media element in a playlist.

See Also

Concepts

Contexts