Ad
Personal tools

Promotional Badges

From Winamp Help

(Difference between revisions)
Jump to: navigation, search
(Test Bed)
Line 41: Line 41:
*Add Online Services:
*Add Online Services:
**Online Services Root - http://launch.winamp.com/Online%20Services
**Online Services Root - http://launch.winamp.com/Online%20Services
-
**Online Services Details Page - http://launch.winamp.com/Online%20Services/go?id=222025
+
**Online Services Details Page - http://launch.winamp.com/Online%20Services/go?id='''222025'''
 +
You can pick up the service id (222150 in the example mentioned above) from the Online Services URL in Winamp.com. See screenshot
[[File:Online Service URL.JPG]]
[[File:Online Service URL.JPG]]
*Play in Now Playing:
*Play in Now Playing:
**Now Playing Root - http://launch.winamp.com/Now%20Playing
**Now Playing Root - http://launch.winamp.com/Now%20Playing
-
**Now Playing Artist Page - http://launch.winamp.com/Now%20Playing/artist/?artistID=1003359
+
**Now Playing Artist Page - http://launch.winamp.com/Now%20Playing/artist/?artistID='''1003359'''
 +
 
 +
Please stay tuned for Now Playing artist IDs. We are planning to allow users artist names rather than artist IDs shortly.
==Winamp Promo Badges==
==Winamp Promo Badges==

Revision as of 09:36, 15 February 2010

Contents

Promotional URLs

This wiki page will be used to provide insight into the web-based Winamp client launching service(Winamp Launch Gateway) located at http://launch.winamp.com/ and high level info on its required browser plug-ins.

The Winamp Launch Gateway or Winamp Promotional URL (http://launch.winamp.com/) is a service we've created for third parties or any user really who wish to easily open their online service (or other Winamp plug-ins/features) inside the Winamp client from a link within a web page/email/etc.

Overview

You can now promote Online Services, Podcasts and Now Playing pages which rests inside the client right from their webpages. Clicking on these simple promo URLs in your webpage, a user can:

  • Subscribe – allows user to subscribe to podcast & launches Podcast tab within Winamp Client
  • Add – this badge allows the user to add content to the Winamp client (e.g. Winamp Online Service: Tour Tracker, Metro Lyrics, 7Digital store, Moviefone HD Trailers, etc.)
  • Now Playing in Client – this launches a specific artist page within the Winamp client including deep-linking to sub-tabs such as -
    • Biography – band bio/history powered by AMG
    • Songs – allows for playback of any available songs
    • Photos – powered by AOL Music
    • Videos – powered by Truveo
    • Radio – powered by SHOUTcast
    • News – All News, AOL Music News, & Blog

The simplest example of the launcher is to just open up your web browser (as long as it's either Firefox or IE) and visit:

http://launch.winamp.com/

The page first does a quick check to ensure that the proper browser plug-in/dll is installed and that the user is using Winamp version 5.57 or above before it attempts to launch Winamp. Additionally, thanks to two browser plug-ins (one for Firefox, one for Internet Explorer) there is a way to presence check Winamp before attempting to load such a URL.

Anatomy of an Example Request

The diagram below explains the specifics of making a Winamp Launch Gateway request. The first and second parameters are optional.

File:Winamp_launch_gateway_urls.gif

Test Bed

Check out how these URLs work.

You can pick up the service id (222150 in the example mentioned above) from the Online Services URL in Winamp.com. See screenshot File:Online Service URL.JPG

Please stay tuned for Now Playing artist IDs. We are planning to allow users artist names rather than artist IDs shortly.

Winamp Promo Badges

You can use the following badges or buttons for the services we mentioned above. Please download the hi-res from http://www.winamp.com/promote.

  • Subscribing to a Podcast

File:Feed_46_17.jpg File:Subscribe 91 18.jpg File:DefaultSubscribe.jpg

  • Adding an Online Service

File:Add 46 17.jpg File:Add 91 18.jpg File:Default add.jpg

  • Playing in Now Playing

File:Play 46 17.jpg File:Play 91 18.jpg File:DefaultPlay.jpg

Winamp Client Requirements

Version 5.57 and up

Compatible Winamp Plug-ins

  • Online Services
  • Now Playing
  • Podcast Directory

Example Fail Case

If you have an older version of Winamp and you attempt to use the Winamp Promotional URLs in your website, a user to your website will see the following screenshot. You will need to follow the given instructions in the screenshot below.

Screenshot: File:Winamp_launch_gateway_error.jpg

Caveats

  • When attempting to launch, if Winamp is already open (hidden behind other windows, for example) or minimized, it will not steal focus.
  • If the user doesn't have Firefox installed at the time of installing Winamp 5.57, then later decides to install Firefox and use the Winamp Launch Gateway, the presence check plug-in will fail because it was not installed (due to the absence of Firefox at install time) and there is currently no way for them to manually install it other than re-installing Winamp.
  • At this point it is not known what other browsers, if any, will launch Winamp correctly besides Internet Explorer and Firefox.