• Resolved WeaselsLair

    (@weaselslair)


    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="https://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="https://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="https://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="https://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="https://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="https://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="https://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="https://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>
Viewing 5 replies - 1 through 5 (of 5 total)
  • 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!

    Thread Starter WeaselsLair

    (@weaselslair)

    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="https://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="https://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>

    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?

    Nvm it took overnight to load thanks!

    Plugin Author manfer

    (@manfer)

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Embed Grooveshark] WORKING GrooveShark playlist work-around (no 3rd party site required!)’ is closed to new replies.