This plugin does not work with the cuurent version of the JW player any longer. This page is nothing more than an archive.
The contents of this page are:
Introduction
This plugin is made to simplefy the process of inserting mp3 files inside a Wordpress post or page. The plugin is build around Jeroen Wijerings excellent Flash Single MP3 Player and in order to use this plugin you have to download his player here.
License info
Unlike all other content on my site, my plugins and scripts are released under a GNU General Public License. A copy of the full license text is included with your Wordpress distribution and can also be found here. Please note that Jeroen Wijering has released his player under a Creative Commons “BY-NC-SA” license, which does not allow commercial use. The full license text of this license can be found here. I appreciate it when you let me know if and how you use my script…
Installation?
Installation is easy and straightforward. First of all download Jeroen Wijerings Flash Single MP3 Player here. Unzip the zipfile and upload the singlemp3player.swf to an accessible directory on your server.
Next download the plugin source here and rename the file from wp-singlemp3.php.txt to wp-singlemp3.php. Upload this file to your Wordpress plugins directory.
Login to your Wordpress installation and activate the WP-SingleMP3 in the plugins menu. You’re almost done!
To make the plugin work it must know where to find the singlemp3player.swf file. To do this you have to go to the options menu en choose the WP-SingleMP3 submenu. Here you can change the required and optional settings for this plugin.
That’s it your finished!
Use of the plugin
The plugin replaces a special and simple <smp3> tag with all the necessary (XHTML valid) flash code. This <smp3> has eight attributes.
- file
- This is the only compulsary attribute. It value is the URL to your MP3 file.
- width
- Optional attribute to set the width of the player. If this value is not set it will use the default value as specified in the options menu.
- songvolume
- This value can be set from 0 to 100 and it represents the volume for playing the song.
- backcolor
- You can set the background color of the player by giving the hexadecimal value of the desired color (E.g.: 00ff00 for green)
- frontcolor
-
Change the colors of the buttons and progressbar with this value. Use hexadecimal value like
backcolor. - autostart
-
With this attribute you can determine wether the movie starts playing automatically or not. Set to either
falseortrue. - showdownload
-
With this attribute you can determine wether the player shows a download button which your visitors can use to download the MP3 file. Set to either
falseortrue. - repeatplay
-
Pretty easy, set to
falseand the MP3 will be repeated forever or set totrueto play it just once.
Example codes:
<smp3 file="http://promo.mudhut.co.uk/NinjaTune/getamoveon.mp3" width="404" songvolume="90" backcolor="ccff00" frontcolor="ff0066" autostart="false" showdownload="true" repeatplay="false" />
The song I link to is from Mr Scruff and can be downloaded via CommonTunes. More info on the song can be found here.
You can also use the SMP3 quicktag to assist you with inserting the right code.
Download
You can download the plugin source code with this link.
Changelog and todo
0.1 beta - 2006-11-06 - The first release and based on the WP-FLV plugin.
Problems / Questions / Suggestions / Support?
Sorry, but I do longer give support for this plugin. Development has been dead for 2 years and this page is nothing more than an archive.