MyBB Community Forums

Full Version: [MyCode] Automatic Deezer MyCode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
First of all, i must say thanks to Aglioeolio for is explaination about automatic mycodes from url.


Here is the code:

Title: what you want
Description: What you want as description

Regular expression:
(\[deezer\]|(<a href=\")?(http://)?(www.)?deezer.com/listen-)(.{7}?)((.*?)\" target=\"_blank\">)?((.*?)\[/deezer\]|(.*?)</a>)

Replacement:
<object width="200" height="200"><embed src="http://www.deezer.com/embedded/small-widget-v2.swf?idSong=${5}&colorBackground=0x525252&textColor1=0xFFFFFF&colorVolume=0x39D1FD&autoplay=0" type="application/x-shockwave-flash" width="220" height="55"></embed></object>

Activated: Yes


You can modify the youtube frame configuration by modifing the replacement (autoplay=0/1, ...)

PS: Sorry for my bad english, I'am French.
What's Deezer?
A site to listen music for free, a service used a lot in france