1# Dokuwiki Plugin MP3Play
2
3<table>
4  <tr>
5    <th align="left">Description</th>
6    <td>The Mp3Play plugin let you add an flash mp3 player to your Webpage and Stream Mp3 files</td>
7  </tr>
8  <tr>
9    <th align="left">Author</th>
10    <td>Zahno Silvan</td>
11  </tr>
12  <tr>
13    <th align="left">Email</th>
14    <td>zaswiki@gmail.com</td>
15  </tr>
16  <tr>
17    <th align="left">Type</th>
18    <td>syntax</td>
19  </tr>
20  <tr>
21    <th align="left">Lastupdate</th>
22    <td>2012-10-22</td>
23  </tr>
24  <tr>
25    <th align="left">Tags</th>
26    <td>music, mp3, stream, flash, embed</td>
27  </tr>
28</table>
29
30## Download
31* Download to Dokuwiki plugin folder
32* File     : https://github.com/tschinz/dokuwiki_mp3play_plugin/zipball/master
33
34## Versions
35* **2011-02-17**
36  * Init version
37* **2012-10-22**
38  * Moved repo to GitHub
39
40## Syntax
41```
42{{mp3play>path-to-playlist.xml}}
43```
44
45"Path to the Playlist" should look something like this:
46```
47namespace:folder:subfolder:....:playlist.xml
48```
49
50## Settings
51<table>
52  <tr>
53    <th>Admin setting</th>
54    <th>Default value</th>
55    <th>Description</th>
56  </tr>
57  <tr>
58    <th align="left">Showplaylist</th>
59    <td>1</td>
60    <td>0 or 1</td>
61  </tr>
62  <tr>
63    <th align="left">Showeq</th>
64    <td>1</td>
65    <td>0 or 1</td>
66  </tr>
67  <tr>
68    <th align="left">Firsttrack</th>
69    <td>1</td>
70    <td>First track to play 1-x</td>
71  </tr>
72  <tr>
73    <th align="left">Initvol</th>
74    <td>50</td>
75    <td>Start volume 0-100</td>
76  </tr>
77  <tr>
78    <th align="left">Width</th>
79    <td>100%</td>
80    <td>Width size in pixel or %</td>
81  </tr>
82  <tr>
83    <th align="left">Height</th>
84    <td>320</td>
85    <td>Height in pixel or %</td>
86  </tr>
87</table>
88
89## Playlist example
90```xml
91<?xml version="1.0" encoding="UTF-8"?>
92<songs>
93  <song path="http://streamer-dtc-aa02.somafm.com:80/stream/1018/" title="Some Internetradio Mp3 Stream" />
94  <song path="http://77.67.106.13:10203/" title="Mountain Chill - Planets Destination for Chill" />
95  <song path="http://musicweb.koncon.nl/AllCourses/hdpj/chapter05/TaketheATrain.mp3" title="URL to a MP3 file on the Net" />
96</songs>
97```
98
99Download the example playlist [here](http://zawiki.zapto.org/lib/exe/fetch.php/tschinz:programming:dw:mp3play:playlist.xml)
100
101## Thanks
102The Flash Player used from [Charles](http://sexywp.com/flash-player-widget.htm). Originally a WordPress Plugin.
103
104## Example
105![Screennshot 1](http://zawiki.zapto.org/lib/exe/fetch.php/tschinz:programming:dw:mp3play:mp3play_1.png)
106![Screennshot 2](http://zawiki.zapto.org/lib/exe/fetch.php/tschinz:programming:dw:mp3play:mp3play_2.png)
107![Screennshot 3](http://zawiki.zapto.org/lib/exe/fetch.php/tschinz:programming:dw:mp3play:mp3play_3.png)
108
109## Documentation
110
111All documentation for the Mp3Play Plugin is available online at:
112
113  * [Dokuwiki Plugin Page](http://dokuwiki.org/plugin:mp3play2)
114  * [ZaWiki Plugin Page](http://zawiki.zapto.org/doku.php/tschinz:dw_mp3play)
115  * [Github Project Page](https://github.com/tschinz/dokuwiki_mp3play_plugin)
116
1172011 by Zahno Silvan <zaswiki@gmail.com>
118