MyBB.support, le portail francophone de MyBB
Grooveshark - Version imprimable

+- MyBB.support, le portail francophone de MyBB (http://mybb.fr)
+-- Forum : Plug-ins et modules pour MyBB (http://mybb.fr/forum-32.html)
+--- Forum : MyCode (http://mybb.fr/forum-35.html)
+--- Sujet : Grooveshark (/thread-1959.html)



Grooveshark - ¤ Magic ¤ - 23-10-2009

Titre du code : Grooveshark

Description MyCode : Permet d'integrer un lecteur de Grooveshark

Expression régulière : \[grooveshark\](.*?)\[/grooveshark\]

Remplacement :
Code :
<object width="250" 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=water&p=0"></param> <embed src="http://listen.grooveshark.com/songWidget.swf" type="application/x-shockwave-flash" width="250" height="40" flashvars="hostname=cowbell.grooveshark.com&widgetID=$1&style=water&p=0" allowScriptAccess="always" wmode="window"></embed></object>

Activer ce MyCode ? : oui


Exemple sur ce lien : http://widgets.grooveshark.com/make?widgetid=16180867

Le code sera :
Code :
[grooveshark]16131819[/grooveshark]

Visible Ici


 Utilitaire de traduction fourni par Regentronique