forked from wp-plugins/mp3-jplayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle-param-help.htm
More file actions
219 lines (200 loc) · 5.62 KB
/
style-param-help.htm
File metadata and controls
219 lines (200 loc) · 5.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<!DOCTYPE html>
<html>
<head>
<title>Style Parameter Help</title>
<style type="text/css">
body { font-family: arial, Verdana, sans-serif; }
p, ul, ol { font-size: 14px; }
code, pre { font-size: 14px; background:#f0f0f0; line-height:21px; }
table td { padding:0px 10px 10px 0px; }
sup { font-size:0.7em; }
</style>
</head>
<body>
<div style="width:700px; margin:50px auto 50px auto;">
<h3><strong>Style Parameter Help - MP3-jPlayer</strong></h3>
<br />
<p>The <code>style</code> parameter gives you a way to modify the look of individual players. It takes a list of names separated by spaces (the names refer to css classes).</p>
<p>Eg. <code>[mp3t style="bigger3" track="http://sjward.org/seven.mp3"]</code><br />
Eg. <code>[mp3-jplayer style="dark smaller" tracks="http://sjward.org/seven.mp3"]</code></p>
<p>The table below shows a list of the available names that are ready to be used.</p>
<br />
<p>If you're comfortable writing css then you can define your own modifications in a custom stylesheet. Use the 'players-1-8-silver.css'
file in the plugin's css folder as a starting point. Here's how to set it up:</p>
<ol>
<li>Copy 'players-1-8-silver.css' to a folder outside of the plugins folder on your domain.</li>
<li>Set the style option to 'Custom' on the plugin settings page, and point it to your css file using the 'uri' field.</li>
</ol>
<br /><br />
<h3>Available Class Names For Use In <code>style</code> Parameter</h3>
<table>
<tr style="border-bottom:1px solid #bbb;">
<td style="width:140px;border-bottom:1px solid #bbb;"><strong>NAME</strong></td>
<td style="width:250px;border-bottom:1px solid #bbb;"><strong>EFFECT</strong></td>
<td style="width:250px;border-bottom:1px solid #bbb;"><strong>WORKS WITH</strong></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>bigger1</td>
<td>Makes player a bit bigger</td>
<td>[mp3t], [mp3j]</td>
</tr>
<tr>
<td>bigger2</td>
<td>A bit bigger still</td>
<td>[mp3t], [mp3j]</td>
</tr>
<tr>
<td>bigger3</td>
<td>Even bigger</td>
<td>[mp3t], [mp3j]</td>
</tr>
<tr>
<td>bigger4</td>
<td>Quite big</td>
<td>[mp3t], [mp3j]</td>
</tr>
<tr>
<td>bigger5</td>
<td>Big</td>
<td>[mp3t], [mp3j]</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>outline</td>
<td>Button graphic variation</td>
<td>[mp3j], [mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>dark</td>
<td>Same as 'Dark' player style *<sup>1</sup></td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td>silver</td>
<td>Same as 'Silver' player style *<sup>2</sup></td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td>text</td>
<td>Similar to 'Text' player style *<sup>3</sup></td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td>noscreen</td>
<td>removes titles, uses thin bars *<sup>4</sup></td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>nolistbutton</td>
<td>Removes playlist toggle button</td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td>nopopoutbutton</td>
<td>Removes popout button</td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td>nopn</td>
<td>Removes prev/next buttons</td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td>nostop</td>
<td>Removes stop button</td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>smaller</td>
<td>Smaller fonts</td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>bars100</td>
<td>Moves bars/titles 100px to the right (eg. useful if using artwork images)</td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td>bars150</td>
<td>Moves bars/titles 150px to the right (eg. useful if using artwork images)</td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td>bars200</td>
<td>Moves bars/titles 200px to the right (eg. useful if using artwork images)</td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td>bars250</td>
<td>Moves bars/titles 250px to the right (eg. useful if using artwork images)</td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td>bars300</td>
<td>Moves bars/titles 300px to the right (eg. useful if using artwork images)</td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td>bars350</td>
<td>Moves bars/titles 350px to the right (eg. useful if using artwork images)</td>
<td>[mp3-jplayer], [mp3-popout]]</td>
</tr>
<tr>
<td>bars400</td>
<td>Moves bars/titles 400px to the right (eg. useful if using artwork images)</td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>wtransbars</td>
<td>White very transparent bars (eg. useful if using waveform images)</td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
<tr>
<td>btransbars</td>
<td>Black very transparent bars (eg. useful if using waveform images))</td>
<td>[mp3-jplayer], [mp3-popout]</td>
</tr>
</table>
<hr />
<p>*<sup>1</sup> Available from 'Silver' style only.</p>
<p>*<sup>2</sup> Available from 'Dark' style only.</p>
<p>*<sup>3</sup> Available from 'Dark' and 'Silver' style only. There are some differences between using this and
the actual 'Text' player style option on the settings page.</p>
<p>*<sup>4</sup> Only works in conjunction with 'text' class at the moment, eg. <code>[mp3-jplayer style="text noscreen"]</code></p>
<hr /><br /><br />
</div>
</body></html>