|
Grooveshark MyCode
|
|
09-15-2009, 09:47 PM
(This post was last modified: 09-15-2009 10:12 PM by Upem.)
Post: #1
|
|||
|
|||
|
Grooveshark MyCode
I googled around some and couldn't find this anywhere so I took a shot at it. If someone can do this more efficient or this has already been posted then just close this thread. Just trying to help ;]
Regular Expression Code: \[groove\](.*?)\[/groove\]Replacement Code: <object width="190" height="40"> <param name="movie" value="http://listen.grooveshark.com/songWidget.swf"></param> <param name="wmode" value="window"></param> <param name="allowScriptAccess" value="always"></param> <param name="flashvars" value="hostname=cowbell.grooveshark.com&widgetID=$1&style=metal&p=0"></param> <embed src="http://listen.grooveshark.com/songWidget.swf" type="application/x-shockwave-flash" width="190" height="40" flashvars="hostname=cowbell.grooveshark.com&widgetID=$1&style=metal&p=0" allowScriptAccess="always" wmode="window"></embed></object>Usage Code: [groove] ID [/groove]It uses a width of 190 but you can adjust it. Also anyone not familiar with grooveshark, you have to "export to widget" to get the ID from the URL. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help



