Académique Documents
Professionnel Documents
Culture Documents
xspf player is a plugin that will embed the gpl'ed flash player xspf web player
(see http://musicplayer.sourceforge.net).
you can play music stored remotely or locally in your web server (must be http mp3
links files).
there are three player versions (you can use any of them). actually only slim
player has been tested, but it's supposed
to work with any of them.
== installation ==
1. upload the .zip file content to your plugins folder, usually `wp-
content/plugins/`.
after this, you should have the folder wp-content/plugins/xspf_player created
and several files inside of it.
2. activate the plugin on the plugin screen
5. go to the managements page (xspf player management) and add some url songs to
the database.
6. invoke the player anywhere into your template pages using: <?php
xspf_player::start('category-tag'); ?>
where 'category-tag' is the name of a category of songs you defined. e.g.:
xspf_player::start('celt music')
category-tag is optional. if omitted, all tracks are played.
that's all.
to invoke the player within your post, use <xpsf>_start()</xpsf> (you can press
the quicktag 'xspf' button in the editor page).
warning!!!: this has changed from previous versions of xspf (3.0) (it was
<xspf>start()</xspf>). both will work, but the later one
*must* be used when invoking embedding the player within a post (to keep xhtml 1.0
compliance).
currently only user with admin privileges can insert the player within the post.
allowing it to everybody could be a security hazard if you don't trust your
registered users. so, by now, only admin (user level >= 9) can use this
feature.
== change log ==
* version 3.3a
.- bugfix: wp 2.3 seems to have a bug in wpdb->query (null does not
cache). categories not shown. fixed.
* version 3.3
.- feature: url and category description can now have up to 255 chars
long.
.- feature: version displayed in config menu, and other cosmetics.
.- feature: better directory protection.
.- feature: button to clear all sql xspf tables.
.- bugfix: category edition not shown when no tracks on database.
fixed.
* version 3.2
.- bugfix: when no default player mode is selected, the player may not
work. fixed.
.- bugfix: the [xspf] button does not work on wp 2.1. fixed (thanks,
renato alves).
.- bugfix: cleanup database songs tables when installing for first
time.
.- feature: now it's possible (and preferred) to use [xsfp] ... [/xspf]
instead of <xspf>...</xspf> tags.
.- other: everything is in one folder (tidy up)
* version 3.1
.- bugfix: playlist sometimes does not works with php version < 5.x
(mbcs). fixed.
.- bugfix: slim mode sometimes showed an underlining color background.
fixed.
.- bugfix: sometimes the height and width were not set when choosing
the mode on-the-fly (advanced users). fixed.
.- bugfix: when calling the player inside a post/page body, the output
was not xhtml compliant. fixed (must use _start() function now).
.- feature: under some free web-hosts, the playlist did not work
because header insertions. this have been solved.
* version 3.0 (alias "d.a.r.y.l.")
.- feature: can insert the player within the post body
.- feature: added mode 0 (player can choose player url)
.- feature: added mode 4 (button with overlay menu)
.- feature: parameters changeable on the fly (see wiki)
.- other: some glitches and code rearrangement.
* version 1.6
.- feature: autoload playlist
.- feature: preview in options panel!
.- bugfix: playlist may give errors with some plugins. fixed. thanks, ana.