banner art

bannerInfoURL attribute

The bannerInfoURL attribute is typically used with the bannerURL and bannerAbstract attributes to add a hyperlink to a banner image displayed in Windows Media Player. You can use the bannerInfoURL attribute to provide users with a link to a Web page that is associated with one or more media elements. For example, the Web page may provide users with more information about the content source or an advertiser.

When a client accesses a playlist that has a banner image, the client downloads the image specified by the bannerURL attribute value. When the parent element of the bannerURL attribute becomes active, the banner image is displayed in the lower third of the Windows Media Player Now Playing pane. When a user clicks a banner that has an associated bannerInfoURL attribute, the Player starts the Web browser and displays the specified Web page. Values specified for the bannerInfoURL attribute must be text strings.

The following example shows a playlist with specified banner attributes:

<?wsx version="1.0"?>
<smil>
	<media src="lpp://Server/Spain">
		<clientData title="Spain"
		 bannerAbstract="Click here for more information about Spain"
		 bannerInfoURL="http://webserver/spain/default.asp"
		 bannerURL="http://webserver/images/spain_banner1.gif"/>
	</media>
</smil>

When a client accesses the playlist, Spain_Banner1.gif is downloaded and displayed in the Player. When the user clicks the banner, the Web browser displays the Web page specified in the bannerInfoURL attribute. The bannerAbstract attribute value is displayed as a ToolTip.

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

Note Image Notes

Related topics


© 2005 Microsoft Corporation. All rights reserved.