Flash MP3 Player
This plugin integrates a powerful music player into WordPress.
Features
- simple to install
- customizable background
- playlist include a shuffle feature
- you can add an album artwork
- easy to configurate
- multiple playlists and configuration files
- sidebar supported
- you can include it in posts and pages
Download
Donate
Installation
- Upload the directory flash-mp3-player to the
/wp-content/pluginsdirectory. - Activate the plugin through the
Pluginsmenu in WordPress. - Use
Settings/FMP:Config Editorto create config files. - Use
Settings/FMP:Playlist Editorto create playlist files. - Add a widget to your sidebar through the
Appearance-->Widgetsmenu in WordPress.
Usage
You can display the mp3 player in several place in your blog:
- on your sidebar
- in your post or page
- other place
How to put it on your sidebar
![]() |
| How to add a sidebar widget. From illustration |
- Create a configuration for a sidebar widget, for example called "sidebar widget style 1". You can use the
Settings--> FMP:Config Editorto do this, and it will create a XML config file called sidebar-widget-style-1.xml in your configuration list. - Create a playlist, for example called "playlist in homepage sidebar". You can use the
Settings-->FMP:Playlist Editorto do this, and it will create a XML playlist called playlist-in-homepage-sidebar.xml in your playlists list. - Go to
Appearance --> Widgetsand drag a "Flash MP3 Player JW" to your sidebar. Then you should set the title, width and height of the widget, choose the config file sidebar-widget-style-1.xml and playlist playlist-in-homepage-sidebar.xml, click save, done! - You can create a lot of different config files and playlists and add a player to every sidebar (if you have more than one), each one with a different config and playlist.
How to embed it in your post or page
- Just like what you do in "put it on your sidebar"
- Just like what you do in "put it on your sidebar"
- Add a new post. Click the media button, which is a blue "Play" button, to call the wizard panel.
- You can either choose config file and playlist or not. If not, just set a single song's url. Click insert button and the short code to call the player will be inserted to your post.
How to put it in other place of your blog
To put the player in other place of your blog is not so easy as above. You should know something about template tags of WordPress.
The code to call the player is like this:
//the entire url of the config file, must
'config_url' => '',
//the entire url of the playlist file (optional)
'playlist_url' => '',
'width' => 230,
'height' => 350,
'id' => '',
'class' => '',
'transparent' => true, //this is default
'autostart' => false, //this is default
'file' => '' //the entire url of the MP3 file (optional)
);
//you should set either "playlist_url" or "file"
fmp_tag_print_player($args);
How to backup your playlist files
Now you have just one method to backup your playlist file is to use ftp connect to your server, and download the /wp-content/fmp-jw-files/playlists directory. If you want to restore your playlists, just upload the playlists files to the /wp-content/fmp-jw-files/playlists directory.
Other Topics
The JW Player and FLA File Download
The player embedded in this plugin is so-called JW Player, which is the same as the player in YouTube. But the player in this plugin is the version 2.3 of JW Player, the reason for this version is because the size of the player file is just 9.5K bytes. It is very fast for the browser to load this player in. The short hand of it is that this player can just play audio. Just as the name of this plugin, it is an mp3 player, so the function of the version 2.3 is suitable. A lot of designer want to customize the look the player, so I give you it here. You can download it by click the link below.
Player Printer, Config Editor and Playlist Editor
This plugin is composite of three parts. The first is Player Printer. This thing is used to put the mp3 player on your page. Its core is a template tag, and extended forms are sidebar widget and shortcode. The second and the third is two XML file editors, Config Editor and Playlist Editor. They are just two XML file creating helpers. If you know how to edit a XML file, you can edit them, include config file and playlist file, locally and upload them to your server yourself.
FAQ
- where to edit the code to make the song image larger?----You can download the source file of the player and change the size of image yourself if you know how to modify the code.


我的博客可谓将这个插件用到了极致,呵呵,真是个好插件啊,不过如果能加个同步歌词的功能就完美了。
http://sjbao.com
3月17日的第一首歌曲很好听,Colors of Wind,我很喜欢这首歌~~~
A yes, this is exactly what I was looking for. A mp3 player for my wordpress site without any flash.
-_-b||| It IS a flash...
Hi every1 i have just found this plugin and i am going to try it, and also Charles by DEFAULT all hosts have folders as 755 so in that case you wouldn't need to change anything but for people that are having the problem when you go to settings and search for: 'Settings/FMP:Config Editor' to create config files. and 'Settings/FMP:Playlist Editor' to create playlist files. well change the WRITE PERMISSIONS FOR the folder wp-content to 777 not 755 as by default already 755 so change chmod to 777
Regards,
Aaron
i'm sorry, i made some mistake, 755 is not right. Next release will repair this bug.
Went into our site and went to FMP config editor and the podcast.xml we made is no longer there as a choice yet the player on the outside is playing that playlist. Any suggestions? Thanks
It sounds strange... I don't know why...
Hi Charles,
Great plugin, thanks for taking the time to create it.
I'm getting the "Here is the Music Player. You need to installl flash player to show this cool thing!" error on my home page.
Here is the code, I'm using:
[code]
php $argsx = array(
'config_url' => 'http://theshoos.com/shoo/wp-content/fmp-jw-files/configs/fmp_jw_widget_config.xml',
'playlist_url' => 'http://theshoos.com/shoo/wp-content/fmp-jw-files/playlists/fmp_jw_widget_playlist.xml',
'width' => 230,
'height' => 350,
'id' => '',
'class' => '',
'transparent' => true,
'autostart' => false,
'file' => ''
);
fmp_tag_print_player($argsx);
[/code]
It is happening on all browsers I've tested:
FF 3.6 with Flash 10.0.42.34 (mac)
Chrome 5.0.342.1 with Flash 10.0.42.34 (mac)
IE 8 with Flash 10.0.45.2 (xp)
Here is the URL to the page http://theshoos.com/shoo/
and both config and playlist files seem to be fine.
Any help on this would be great as I'm under pressure to get this site up and running and would love to use your plugin..
Thanks
I've fixed this bug yesterday.
Perfect!!
Thanks Charles! Much appreciated!
Hey, love you plugin so far but was wondering if there was some way of just uploading the mp3 files to a folder instead of manualy adding em one by one ^^
In next update, you can add mp3 link from your media library.
Trying to figure this plugin out...i need to post this into my website. I'm using godaddy as host. i went in there and made wp-content writable. i didnt have to put in 755 or anything. is that a problem? do i have to get an FTP client? below is what i am pasting into the main index php:
$args = array(
//the entire url of the config file, must
'config_url' => 'http://meetthadealer.com/wp-content/fmp-jw-files/configs/dealerradio.xml',
//the entire url of the playlist file (optional)
'playlist_url' => 'http://meetthadealer.com/wp-content/fmp-jw-files/playlists/dealerradio.xml',
'width' => 230,
'height' => 350,
'id' => '',
'class' => '',
'transparent' => true, //this is default
'autostart' => false, //this is default
'file' => '' //the entire url of the MP3 file (optional)
);
//you should set either "playlist_url" or "file"
fmp_tag_print_player($args);
I'm sorry, maybe it do has some problem in this api, but I'm very busy this week. Can you call the player in the other two ways?
yes i can call it the other ways and it works fine.
Thank You Charles For Your Fast Response, I Changed ALL My Write Permissions To 755, Nothing Changed, Is There An Earlier Version That Would Be Compatible With My PHP, If That's The Problem?
The version 9.3.31 support PHP4, you can find it here http://downloads.wordpress.org/plugin/flash-mp3-player.9.3.31.zip, but, I'm not so sure it works in WordPress 2.9.2, you can have a try.
I Just Saw That It Does Not Support PHP4, I Am Hosted With Yahoo And They Only Have PHP4.3 I Am Guessing That's The Problem, Can You Confirm? Thanks Again.
Yes, this plugin use the api of dom document in PHP5. So, you can not use it now.
I Just Downloaded The Flash MP3 Player And Activated It, But When I Go To The Settings For The Player There Is Nothing Displayed, I Looked For A Fix But Couldn't Figure It Out, Can You Put Me On The Right Track And Tell Me What I'm Doing Wrong? Thank You.
This plugin need the write permission of the directory
wp-content, you can change the permission ofwp-contentto 755 or create the directorywp-content/fmp-jw-filesmanually and change the permission offmp-jw-filesto 755. The first way is recommended.i used this code in my site index.php, but it didnt work, can you help me?
'http://serdaronur.com/wp-content/fmp-jw-files/configs/mini.xml',
//the entire url of the playlist file (optional)
'playlist_url' => 'http://serdaronur.com/wp-content/fmp-jw-files/playlist/mini.xml',
'width' => 50,
'height' => 30,
'id' => '',
'class' => '',
'transparent' => false, //this is default
'autostart' => true, //this is default
'file' => 'http://serdaronur.com/nazar.mp3' //the entire url of the MP3 file (optional)
);
//you should set either "playlist_url" or "file"
fmp_tag_print_player($args);
?>
Now it's ok.
Love your player, but since today its not showing up correctly on firefox. See http://www.nmwproductions.com Any fixes for this issue?
Hi, Joel, I can see the player on Firefox 3.6. And the version of Shockwave Flash in Firefox is 10.0.45.2. Everything is OK. So, please tell me what the version of your Firefox and Shockwave Flash, and I'll try my best to find out what happens.
Hi Charles,
I love the mp3 player. Would love to know one thing and have another.
1. Where are the playlists being stored in my wordpress installation? The /wp-content/fmp-jw-files/playlists directory does not exist in my installation yet the playlists are being created and work perfectly?
2. Can I have the .fla file to edit the look of the player? I noticed you gave several users in your forums the .fla file via email. I tried to sign up through the forum but I never received a membership email with my membership password.
Thanks Charles,
-tom
Hi, Tom, for question 1, I don't know.
, I put playlist files exactly in the directory
/wp-content/fmp-jw-files/playlists, if they are not there, I don't know where are they... for question 2, of course you can get the fla file. In this page you can find the download link. Find "Other topics".I love the plugin. i do have a problem though,
When i updated everything a while ago it messed up and now in the
fmp playlist editor it reads only the lines
Warning: domdocument() expects parameter 2 to be long, string given in /nfs/c03/h04/mnt/49675/domains/consolealliance.com/html/wp-content/plugins/flash-mp3-player/inc/class.playlist_editor.php on line 303
Fatal error: Call to undefined function: load() in /nfs/c03/h04/mnt/49675/domains/consolealliance.com/html/wp-content/plugins/flash-mp3-player/inc/class.playlist_editor.php on line 304
and in the
fmp config editor it only reads the lines
Warning: domdocument() expects parameter 2 to be long, string given in /nfs/c03/h04/mnt/49675/domains/consolealliance.com/html/wp-content/plugins/flash-mp3-player/inc/class.config_editor.php on line 338
Fatal error: Call to undefined function: load() in /nfs/c03/h04/mnt/49675/domains/consolealliance.com/html/wp-content/plugins/flash-mp3-player/inc/class.config_editor.php on line 339
how can I fix this?
I'm sorry about that and I have no idea what happened. I've just updated the UI of play list editor in the latest update (10.1.0) , and you can verify it by compare the code between two versions.
The mostly possible reason is your server environment changed. See HERE for your reference.
My advice is to contact the administrator of your server and fix the problem.
Hi,
I installed Flash MP3 Player (Version 10.0.4, 10.0.8 and 10.0.9). After activation of the plugin no menu entries Settings/FMP:Config Editor and Settings/FMP:Playlist Editor are created. I am using WP Version 2.9.2 which is translated in Turkish. Do you have any idea why it does not work.
I did a research in the internet, but could not find such an issue.
Thanks a lot!
Regards
Yilmaz Kocak
Please make sure that your
/wp-contentdirectory is writable.You can use
chmodcommand or FTP Client to make it writable.hey!
It works by using 777 for the chmod command of /wp-content. 775 wasn't working. Why does the pluggin requires to put such permissions? Isn'it dangereous somehow?
thanx for your work
777 means everyone can change this directory.