How to display a banner image with Windows Media Player

February 4, 2008 11:17 am Tags: No Comments 0

To display a banner image (along with a link to more information) while video is rendered in Windows Media Player, add an entry to a Windows Media metafile (a file with a .wvx file name extension) by doing the following:

  1. In a text editor such as Notepad, add the following basic code while substituting the example server, paths, and file names with the appropriate information:

    <ASX version = "3.0">
    <TITLE>Sample Demo</TITLE>
    <BANNER HREF="http://WebServerName/Images/Banner.bmp">
    <ABSTRACT>Learn more about our company</ABSTRACT>
    <REF HREF="mms://ServerName/PublishingPointName/Video.wmv"/>

    In the previous code, the HREF attribute of the BANNER element has the value http://WebServerName/Images/Banner.bmp that refers to a banner image (194 pixels wide by 32 pixels high) that is stored on a Web server. The text contained in the ABSTRACT element displays as a ToolTip when the user hovers over the banner graphic. Finally, when a user clicks the banner graphic, the URL provided in the MOREINFO element opens in a Internet browser, such as Internet Explorer. In this example, one digital media file named Video.wmv, which is stored on a computer running Windows Media Services, plays back in the Player.

  2. On the File menu, click Save, type a file name, type .wvx as the file name extension, and then click Save.
  3. Copy the Windows Media metafile with the .wvx file name extension to your Web server.
  4. In a Web page, provide a link to the Windows Media metafile.