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!
)
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.
February 13, 2008 at 7:12 pm |
Will this update when they release new builds? They released one on 2/8 – was just wondering. Appears that it did. Slick.
February 13, 2008 at 9:38 pm |
Yes it will. It still links directly to their hosted script, so it will pick up any changes they make. If you want to use on of their “/latest” (beta) builds, you can change the url in the code pretty easily.
March 6, 2008 at 9:14 pm |
Hey Scott, I have posted a version with some tweaks. See http://gonze.com/ymp/gm/ for details. Any chance you could pick up the changes in your version?
October 26, 2008 at 5:55 pm |
awesome cool, thx!