Click to return to the Windows Media Technologies home page    
Web Workshop  |  Streaming & Interactive Media  |  Windows Media Technologies

How to Support the Windows Radio Toolbar

Mike Culver
Microsoft Corporation

Posted May 5, 1999

Contents
Introduction
What Is the Windows Radio Toolbar?
Supporting the Windows Radio Toolbar

Introduction

The purpose of this article is to help you implement radio stations that broadcast over the Web using Microsoft® Windows® Radio toolbar technology in Microsoft Internet Explorer 5. This document is quite short, because it is easy to support the Windows Radio toolbar if a station is already streaming using Microsoft Windows Media Technologies. Support of the Windows Radio toolbar makes it more convenient for users of Internet Explorer to listen to your station while they surf the Internet. As well, it will be easier for them to return to your station every time they get on the Web. The value to your Web site is analogous to a listener setting the buttons on their car radio to a terrestrial station.

What Is the Windows Radio Toolbar?

Internet Explorer 5 features the new Windows Radio toolbar, which affords users a way to conveniently listen to radio stations while they explore the Internet. The Windows Radio toolbar plays audio files encoded using Windows Media Technologies. It is an intuitive toolbar (Figure 1): either click on Radio Station Guide to find a station or, if you have used the Windows Radio toolbar before, pick a station from one of five most-recently listened to stations.

radiobar1.jpg

Figure 1: The Windows Radio toolbar

The toolbar is invoked any time a URL using the special protocol (described below) is clicked by the user. The toolbar is not persistent from session to session -- that is, the toolbar will not re-appear the next time Internet Explorer 5 is started -- unless the user enables persistence. This is done by choosing the Tools menu, clicking Internet Options, clicking Advanced-Multimedia, and then Always show Internet Explorer Radio bar. As well, like all toolbars, it can be turned on via either View Toolbars or the secondary mouse menus.

Supporting the Windows Radio Toolbar

Simple, simple, simple. The Windows Radio toolbar plays any ASX file encoded using NetShow 3.x or later. It does not require a new format, but just a different link that uses the vnd.ms.radio protocol, as shown here:

Listen to 
<A HREF="vnd.ms.radio:mms://123.123.1.2/RadioShow.asx">
<b>Listen</b></A> to a live broadcast from Antarctica!<br>

All the magic is in vnd.ms.radio:. This launches both the toolbar and your broadcast. Since the Internet is about supporting all users, not just users who have Internet Explorer 5, we encourage you to provide the following three links on your page:

  1. Listen Using the Windows Radio Toolbar
    This link is appropriate for Internet Explorer 5 listeners only, and can be implemented as follows:
    <A HREF="vnd.ms.radio:mms://123.123.1.2/RadioShow.asx">
    <B>Listen, using Windows Radio toolbar,</B></A> to a live broadcast from Antarctica! 
    (This requires Internet Explorer 5.)<BR>
    
  2. Listen Using Windows Media Player
    This link is appropriate for all other listeners (Internet Explorer 4 or earlier, Navigator, Mac, and UNIX).
    <A HREF="mms://123.123.1.2/RadioShow.asx">
    <B>Listen, using Windows Media Player</B></A> to a live broadcast from Antarctica!<BR>
    
  3. Get Windows Media Player
    Users who need the player: click here to download the latest version. Be certain to read the complete guide.
    <A HREF="http://www.microsoft.com/windows/mediaplayer/download/default.asp"> 
    <IMG SRC="type path to logo image here" WIDTH="65" HEIGHT="57" BORDER="0" 
       ALT="Get Windows Media Player" VSPACE="7"></A>
    

Display Details

The ASX file in the next sample is RadioShow.asx (also used in the example above). The values for the <TITLE>, <AUTHOR>, and <COPYRIGHT> elements shown in the code sample are displayed at the right-hand end of the toolbar.

The ASX file can be enhanced to include as many other features as you wish. In that manner the ASX file can be used for the Windows Radio toolbar, embedded HTML applications, and traditional stand-alone player environments.

<ASX Version = "3.0">
<TITLE>
Title of Show: This should be the Show or Call Letters
</TITLE>
<MoreInfo href = "http://www.MySite.com" />
<Entry>
<Title>Title of Clip: Clip</title>
<Author>Visit www.MySite.com/catalog for cool stuff!</author>
<Copyright>Copyright: Copyright© 1999 Company Name</copyright>
<Ref href = "mms://www.MySite.com/news.asf" />
<Ref href = "mms://www.MySite.com/SorryCharlie.asf" />

<!--The first <Ref> element above points to the primary stream. The second <Ref> element is only
accessed if the first fails. The second <Ref> element points to a stored ASF file, which is a short 
message that the station is currently unavailable. Also, we've repurposed the <AUTHOR> tag as a promo
to drive site traffic.-->

</Entry>
</ASX>

Conclusion

The Windows Radio toolbar can help you grow your business. Some partners who participated in the Windows Radio toolbar launch say their traffic increased six-fold over previous levels.



Back to topBack to top

Did you find this material useful? Gripes? Compliments? Suggestions for other articles? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.