Last.Fm Gen


Last.Fm Gen

Enter Last Fm Song URL Here!

Since Last Fm discontinued supporting single song embedding on external websites, but left the function intact, I wanted to make a workaround as this function was the most useful thing (to me) that last fm removed.

All you need is the URL for the song you wish to generate embed code for.

Just enter the URL in the field, and it will automatically generate the embed code for the song, and also make a little preview button.

The code can be embedded into a wordpress post or page thereafter.

I have also made this script available as a Wordpress Plugin.

Download the Wordpress Plugin Here!

 Date Posted: 16 Nov 2008 @ 07 58 AM
Last Modified: 08 Dec 2008 @ 07 18 PM
Posted By: Last.Fm-Gen
E-mail | Permalink

Responses to this post » (12 Total)

  1. Admin said...
    9:49 am - November 16th, 2008

    Well this seems to work nicely :)

    Id love to be able to expand on this idea more, but im not much of a coder. If anybody would like to help develop this idea, please feel free :D

  2. Admin said...
    12:52 am - December 7th, 2008

    Updated version to 0.2

    Added ability to comment direct to this page from within the plugin.

    Hopefully that may generate some comments, or feedback :)

  3. Ben said...
    3:02 am - December 10th, 2008

    When I try to use this, for some reason it cuts off about the first minute of the song I’m trying to post to my blog. Very disappointing.

  4. Admin said...
    7:13 am - December 10th, 2008

    Hi Ben.

    I have noticed this on a few tracks, and I too wondered why, then I realised that the songs I tried were actually only samples on the last fm site, meaning that whoever is in control of those songs does not want them up as full tracks for some reason.

    Best way to check is to see if the song you are trying to embedd is the full version on the last fm site. If not, then It wont be using this script either.

  5. Last.Fm-Gen said...
    4:23 pm - December 15th, 2008

    Updated again to version 0.3

    Changes : Last.Fm-Gen now under the Dashboard to make it easier to find in wordpress 2.7

  6. Nook said...
    6:40 am - December 19th, 2008

    Sorry to rain on your parade, but this no longer works with Flash10. You seem to have ver.9 installed, which is supported by their InlinePlayer.

  7. Last.Fm-Gen said...
    7:33 am - December 19th, 2008

    Thanks for the heads up! Ill look into it!

  8. Last.Fm-Gen said...
    7:41 am - December 19th, 2008

    Yes youre right, i just tried it with flash 10, and the inline swf IS broken. Thanks nook!

  9. ben said...
    3:12 pm - April 3rd, 2009

    wow! could you make it scrobble? that would be awsome!

  10. radoon said...
    11:46 pm - May 16th, 2009

    To me it seems that it is not working anymore. I click generate and it provides the code, but it does not seem to show anything. I see:
    “      - Preview Song”
    write below the URL field, and when I try embedding it on my own page, nothing appears.

  11. Last.Fm-Gen said...
    3:31 am - May 17th, 2009

    It seems to be a problem with Flash 10, this particular script was written when flash 9 was the most recent, and flash 10 is incompatible. Maybe if you have a brower with flash 9 on it it might work - if hasnt removed the service completly. As far as i know, to make this work for flash 10, someone would have to completly rewrite the lastfm player button, and make it usable in domains outside’s owned domains. Sorry! I dont have the skills to do this. All i did was to get a friend to take’s old code and made a generator for it to insert the song id, then i made it into a wordpress plugin.

  12. jwqlb said...
    7:14 pm - March 1st, 2010

    i am waiting for the version with flashplayer 10.
    you work?

 Comment Meta:
RSS Feed for comments
TrackBack URI

Leave A Comment ...


You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
\/ More Options ...
Change Theme...
  • Role »
  • Posts »
  • Comments »
Change Theme...
  • VoidVoid (Default)
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LiteLightweight
  • No Child Pages...