Greasemonkey Yahoo! Player

January 17, 2008

On January 8th, Yahoo released their Yahoo! Media Player. It’s a really slick little app that lets you quickly and easily embed play buttons next to any MP3 links you may have by simply adding a script tag to your site.

I was playing with it some and though to myself, “Man, this would be a really cool thing to add to a Greasemonkey script that automatically adds the player to any page I’m browsing that serves up Mp3s.” Anyway, here it is: yahooplayer.user.js

If you don’t have Greasemonkey for Firefox installed, I’ve compiled it into a Firefox browser extension as well. Just unzip the yahooplayer.zip file and drag the extracted xpi file into the firefox window. (The host I’m using throws 404s when I link directly to the xpi, so I’ll find a workaround for that and link directly to it soon and save a step!) The script simply looks to see if a Yahoo! Media Player is already installed, and if not, adds one to the page. (It’s ugly if you have two! :D )

Enjoy! Please feel free to leave any comments or suggestions. To test the install, you can visit your favorite music blog, or visit 3hive and look for the player.