WordPress.org

Ready to get started?Download WordPress

Forums

Embed Grooveshark
[resolved] WORKING GrooveShark playlist work-around (no 3rd party site required!) (6 posts)

  1. WeaselsLair
    Member
    Posted 2 years ago #

    GrooveShark playlist work-around (no 3rd party "gigya" site required!)

    Initially, I found nothing on-line that would make any WordPress widget or other plugin to get GrooveShark embeds to work. Seems like they mysteriuosly stopped working (at least) a couple of months ago. Looks like they also took down their "Make a Widget" page.

    I also tried using the code generated from the GrooveShark page (where you search and play music from), that didn't work either.

    However, after much searching around, I found a working GrooveShark widget embedded on their blog (Blog.GrooveShark.com), and reverse-engineered that to point to any GrooveShark playlist I want.

    I embed it with WordPress 3.3.2's built-in HTML widget.

    I am posting here, because I seem to keep bumping into the same OLD information about this being impossible. But, I can confirm it is working - with the formats I have noted below (which I am using right now).

    MULTI-SONG PLAYLIST:

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" height="320" id="gsPlaylistYOUR-PLAYLIST-NUMBER-HERE" name="gsPlaylistYOUR-PLAYLIST-NUMBER-HERE" width="290">
    	<param name="movie" value="http://grooveshark.com/widget.swf">
    	<param name="wmode" value="window">
    	<param name="allowScriptAccess" value="always">
    	<param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID=YOUR-PLAYLIST-NUMBER-HERE&">
    	<object data="http://grooveshark.com/widget.swf" height="320" type="application/x-shockwave-flash" width="290">
    		<param name="wmode" value="window">
    		<param name="allowScriptAccess" value="always">
    		<param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID=YOUR-PLAYLIST-NUMBER-HERE&">
    	</object>
    </object>

    Here's a WORKING example for a multi-song playlist:

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" height="320" id="gsPlaylist42117074" name="gsPlaylist42117074" width="290">
    	<param name="movie" value="http://grooveshark.com/widget.swf">
    	<param name="wmode" value="window">
    	<param name="allowScriptAccess" value="always">
    	<param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID=42117074&">
    	<object data="http://grooveshark.com/widget.swf" height="320" type="application/x-shockwave-flash" width="290">
    		<param name="wmode" value="window">
    		<param name="allowScriptAccess" value="always">
    		<param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID=42117074&">
    	</object>
    </object>

    SINGLE-SONG:

    I couldn't find a working single-song version of the widget, but I crushed-down the embed for a play-list that happens to have just one song in it.

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" height="184" id="gsPlaylistYOUR-PLAYLIST-NUMBER-HERE" name="gsPlaylistYOUR-PLAYLIST-NUMBER-HERE" width="290">
    	<param name="movie" value="http://grooveshark.com/widget.swf">
    	<param name="wmode" value="window">
    	<param name="allowScriptAccess" value="always">
    	<param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID=YOUR-PLAYLIST-NUMBER-HERE&">
    	<object data="http://grooveshark.com/widget.swf" height="184" type="application/x-shockwave-flash" width="290">
    		<param name="wmode" value="window">
    		<param name="allowScriptAccess" value="always">
    		<param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID=YOUR-PLAYLIST-NUMBER-HERE&">
    	</object>
    </object>

    Here's a WORKING example:

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" height="184" id="gsPlaylist70441958" name="gsPlaylist70441958" width="290">
    	<param name="movie" value="http://grooveshark.com/widget.swf">
    	<param name="wmode" value="window">
    	<param name="allowScriptAccess" value="always">
    	<param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID=70441958&">
    	<object data="http://grooveshark.com/widget.swf" height="184" type="application/x-shockwave-flash" width="290">
    		<param name="wmode" value="window">
    		<param name="allowScriptAccess" value="always">
    		<param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID=70441958&">
    	</object>
    </object>
  2. jhoffay12
    Member
    Posted 2 years ago #

    Hi WeaselsLair,

    I have tried your coding and can't seem to get it to work correctly. I can get it to display on my site but it has some issues i.e two players, coding in the middle and no songs. I copied my playlist code correctly I believe. Please see link for captured screen shot.

    Hope you can help me out.

    Thanks in advance!

  3. WeaselsLair
    Member
    Posted 2 years ago #

    I am using it on my site now. Below is a cut-and-paste of a working example (from this page):

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" height="200" id="gsPlaylist70443348" name="gsPlaylist70443348" width="250">
    	<param name="movie" value="http://grooveshark.com/widget.swf">
    	<param name="wmode" value="window">
    	<param name="allowScriptAccess" value="always">
    	<param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID=70443348&">
    	<object data="http://grooveshark.com/widget.swf" height="200" type="application/x-shockwave-flash" width="250">
    		<param name="wmode" value="window">
    		<param name="allowScriptAccess" value="always">
    		<param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID=70443348&">
    	</object>
    </object>
  4. jhoffay12
    Member
    Posted 2 years ago #

    Damn I just took your exact code and posted it into a text widget and I got nothing? Do you think it could be because of the theme I have selected? Did you just use a text widget?

  5. jhoffay12
    Member
    Posted 2 years ago #

    Nvm it took overnight to load thanks!

  6. manfer
    Member
    Plugin Author

    Posted 1 year ago #

    This plugin works perfectly and doesn't use any third party page at all. It directly request the widget and songs from grooveshark.

    Grooveshark hasn't removed the widget at all. It is only now in a little different place inside the share popup. First you have to choose the more option at the bottom that says, embed, reddit, stumbleupon and that expand to show the link to get the embed code.

    Nothing had changed and this plugin continue working as designed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic