Extension:DeezerPlaylist
From MediaWiki.org
|
DeezerPlaylist Release status: beta |
|
|---|---|
| Implementation | Tag |
| Description | Allows to include a Deezerplylist in your Wiki |
| Author(s) | Bernhard Eisele |
| Version | 0.1.2 Beta (2008-01-26) |
| Download | [Code] |
DeezerPlaylist extension embeds a DeezerPlaylist in a wiki page.
Contents |
[edit] Install
Copy the files in the zip file to extensions/ , the zipfile you can download [here]
Then, add the following code to LocalSettings.php:
require_once("$IP/extensions/deezerplaylist.php");
Have fun!
[edit] Syntax
[edit] Simple
<deezerplaylist>path</deezerplaylist>
- How I find the path ?
- Go by deezer to the playlist, who you will include and click by blog
Now you see this code:
<div style="width:180px;height:236px;"><object width="180" height="220"><param name="movie" value="http://www.deezer.com/embedded/widget.swf?path=3480227&lang=en&autoplay=1&id=1153921"></param><embed src="http://www.deezer.com/embedded/widget.swf?path=3480227&lang=en&autoplay=1&id=1153921" type="application/x-shockwave-flash" width="180" height="220"></embed></object><a href="http://www.deezer.com" style="border:none;margin:0;padding:0;"><img src="http://www.deezer.com/embedded/footer.jpg" alt="free music" title="free music" border="0" style="border:none;margin:0;padding:0;" /></a></div>
The part you are looking for is http://www.deezer.com/embedded/widget.swf?path=3480227&lang=en&autoplay=1&id=1153921, so you would then use <deezerplaylist>3671305</deezerplaylist>
[edit] Expert
You can also define some custom parameters for use in this extension, include them in the opening tag, like <deezerplaylist lang="en" autoplay="1">path</deezerplaylist>
- lang="?"
- Here can you config the language en (english) und fr (french)
- autoplay="?"
- Here can you sett the autostart 0 and off =no 1 and on =yes
- id="?"
- Here can you include your ID.
- color="?"
- Optionally put one of these five skins to stylize the playlist: grey-white, green-black, red-white, blue-yellow and oranges-grey
- If you wish to use your own style, use the following:
- bgcolor="?"
- buttonscolor="?"
- text1color="?"
- text2color="?"
Colour codes are hexidecimal prefixed by "0x", such as 0x525252 or 0x6A752E and you can tip in the colors name, too
[edit] What colornames can I tipp in
Many, more then 100 colors.
|
|
|
|

