The bannerURL attribute is typically used with the bannerInfoURL and bannerAbstract attributes to add a banner image to the Windows Media Player interface. The bannerURL attribute value is the URL of a banner image file.
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.
The maximum area for the image is 32 pixels high by 194 pixels
wide. If the graphic defined in the URL is smaller than the maximum
size, it displays at its original size. If the graphic is larger
than the maximum, Windows Media Player crops the image to fit the
space. Typically an image is accessed from a Web page, with a
bannerURL attribute value such as
http://webserver/images/image.gif
. Values specified
for the bannerURL attribute must be text strings.
The following example shows a playlist with banner attributes specified.
<?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. The bannerAbstract value is displayed as a ToolTip when the user pauses on the banner. When the user clicks the banner, the user's browser opens to the URL specified in the bannerInfoURL attribute.
The bannerURL attribute can be specified for the following playlist element:
Notes