MP3 Player Plugin for wordpress
ATTENTION COMMENTS ARE CLOSED FOR THIS PAGE:
Please use the forum, not comments, for plugin support.
O K So I have started development of my first plugin and I am extremely excited!!!!! I have spent probably about 80 hours in development and I am still not done… I have some help from, of course the internet and a book by Vladmir Prelovac Wordpress Plugin Development and I think it is great. I would also like to thank Premiumbeat.com for letting me use their awesome MP3 players to make the plugin: 
My version of the plugin does work and is on my sidebar to the right and below!
426 hits
NOTE: If updating to new version move mp3 folder to different location so not to lose all your songs in the folder.
- Upload the whole plugin folder mp3player.zip to the /wp-content/plugins/ directory.
- Activate the plugin through the 'Plugins' menu in WordPress by clicking "MP3 Player plugin".
- Go to your Options Panel and open the "MP3 options" submenu /wp-admin/options-general.php?page=mp3options.
- Go to widgets submenu under Appearance Panel and activate widget title "MP3 Player plugin". /wp-admin/widgets.php.
- You can also activate it anywhere in your wordpress site by adding <?php mp3_embed(); ?>.
- You can also add a RSS link to those .mp3 files anywhere in your wordpress site by adding <?php RSS_embed(); ?>.
- Only .mp3 files work with this plugin. (upload files to /wp-content/plugins/mp3-player-plugin-for-wordpress/mp3 ).
| Attribute | Values | What it does |
|---|---|---|
| mp3_aligns | left right top bottom | Align the text around the player (Default is 'bottom') |
| aps | Adjust autoplay option yes or no (Default is 'no') | |
| colors | Color of the mp3 player in hex #HexNUM or #Hex | |
| nums | type of blog_plyrs 1-5 Try them out! | |
| mp3wids | adjusts the width of the player | |
| mp3highs | adjusts the height of the player | |
| blog_plyrs | for which player you want 1-4 | |
| playlst | location of exact file (i.e. http://www.yoursite.com/file_name.mp3) or don't set if option blog_plyrs="2" or "3" or if blog_plyrs="5" link to http://www.yoursite.com/wp-content/plugins/mp3-player-plugin-for-wordpress/php/your_playlist.xml or leave it blank for automatically generated playlist.php to take over. | |
| id | If you want more than one of the same player on one page | |
| New Option Added for version 1.1.6: playlistfolder | a playlist option to set up multiple playlists on webpage. Type in folder of .mp3 files under the mp3 player plugin for wordpress. (wp-content/plugins/mp3-player-plugin-for-wordpress/yourfolderhere) | |
| New Option Added for version 1.1.8: shuffle | yes/no | Enter yes or no depending if you want the player to shuffle song (yes) or if you want the player to not shuffle songs and put them in alphabetical order (no) (Default is 'no') |
| New Option Added for version 1.2.3: transparent | yes/no | Enter yes or no depending if you want the player to be transparent (yes=not scrollable) or if you want the player to not be transparent (no=scrollable) (Default is 'yes') |
| New Option Added for version 1.2.3: show | yes/no | Enter yes or no depending if you want the player to show numbers next to song title(yes) or if you want the player to not show numbers next to song title (no) (Default is 'yes') |
| New Option Added for version 1.2.4: pop_mp3 | yes/no | Enter yes or no depending if you want the player to show a buton to pop-up a window to display the player(yes) or if you want the button not to show(no) (Default is 'no') |
If anyone has any questions or suggestions please feel free to either
Contact me or Chat with me!
Popularity: 29%
- MP3 Player Plugin for wordpress « Tom’s Blog | WpMash – WordPress News
- MP3 Player Plugin for wordpress « Tom’s Blog | WordPress News
- uberVU – social comments
- 21 Free Music Players For Your Website and Blogs « qeqnes | Designing. jQuery, Ajax, PHP, MySQL and Templates
- Kerry Webster» Comment from Matt Mullenweg in Web Designer Magazine
Comments are closed.




Firefox
about 8 months ago
Ok, I deleted those to files and I moved all the mp3 files directly into the mp3 folder as you can see HERE. For some reason it still is not working. The playlist still is showing as undefined as you can see HERE
Perhaps I am missing something simple. BTW I really appreciate your time in helping me. Not many others would do the same.
Thanks Tom!
about 8 months ago
So I have realized some little bugs/issues with the plugin for firefox and so forth. Refer to this post and it might help a little better until I release a new version for the plugin.
http://www.thomasnorberg.com/2009/07/10/forum-added-for-mp3-player/
about 8 months ago
Love the plugin but for some reason when I use the baby player it doesn’t play my songs. It just keeps the loading icon going but when I use the other players, the songs starts playing in 5 seconds or less.
about 8 months ago
Everything seems to be working fine now if there is still a problem let me know.
about 8 months ago
Ok, I think I was able to bypass the HEX color code issue, but now it appears my player only works when I use the code for player 1, [mp3_embed playlst=\http://www.lecrae.net/wp-content/plugins/mp3-player-plugin-for-wordpress/mp3/01-116-Intro.mp3\ colors=#781613\ id=\2\ nums=\2].
If I try to use [mp3embed blogplyrs=\2\ id=\2\ nums=\2\ colors=#900345\ ] or [mp3embed blogplyrs=\3] my playlist comes up as undefined. Is there a way to define the playlist?
Here is the link to my site where I have put these codes in…. http://www.lecrae.net/media/albums/the-compilation-album
about 8 months ago
move the compilation folder to a diff part of your server becasue the playlist.php code just reads .mp3 files not folders. So try that and let me know what happens..
about 8 months ago
I moved the Compilation Album folder so there are only 2 .mp3 files in the /public_html/lecrae.net/wp-content/plugins/mp3-player-plugin-for-wordpress/mp3 folder. One is “thisiswar.mp3 and the other is 01-116-Intro.mp3 file. The player still is showing up as “undefined”
about 8 months ago
Ok so I looked at your site here. The files under compilation are still there that would def cause the problem with accessing the mp3 files in the mp3 folder.
So you should move your files to somewhere other than that mp3 folder and then access them from your site.
suggested placement…
delete the two songs
01-116-Intro.mp3thisIsWar.mp3and take the compilation folder songs and put them in the mp3 folder without the compilation tag.So it would be just
http://www.lecrae.net/wp-content/plugins/mp3-player-plugin-for-wordpress/mp3/and all songs in the mp3 not compilation folder.
Then it should work. Because the way that the
playlist.phpfinds files is just .mp3 files not folders so you have to move them.I am going to work on a new implementation to incorporate multiple playlists on a site. So you can have one playlist with 10 songs and multiple others with a number of songs on them, so totally versatile.
Tom :lol:
about 8 months ago
Hi Tom,
I was wondering if there’s an option somewhere in this plugin to stop the songs from repeating once they’ve all been played?
Thanks for the great plugin otherwise :).
Jylan
about 8 months ago
not yet sorry I have to do some reconfigurin’.
about 8 months ago
I keep getting this error…
YOU HAVE MADE THE FOLLOWING ERRORS!!!! 1) You have entered an invalid HEX Color Code \ please read the directions!
I uninstalled and reinstaled this plugin and still is not working. I set up a user name for you to see if you can fix the issue. Where can I email/pm you?
about 8 months ago
set just the color code in the options panel nothing else.
about 8 months ago
The player doesn’t appear in Firefox, it just continually tells people they need to upgrade flash. It is happening on both Mac and PC. I have upgraded flash and still getting the error. Any thoughts.
about 8 months ago
hmmm wierd you have the most recent version???? If not upload new version here version 1.1.5.
Ok if that does not work still let me know. But other than that I need a website were the player is installed.
another note just to let you know sometimes plugins conflict with my plugin but that can be alliviated by deactivating all plugins activate mine and then one by let me know what the problem is and which plugin breaks my plugin.
Thank you so much for the download!
about 8 months ago
It is the most current version.
Here is the url http://winggirlmethod.com/blog It works fine in IE, Safari, and Chrome, just not FF.
I went through and deactivated every plugin and it still isn’t coming up.
about 8 months ago
Thanks for the reply. The plugin is the latest version. I have deactivated all plugins and tested it again with no luck.
It works fine with IE, Chrome, and Safari.
The link to it’s location is the link on my name. I am a bit stumped.
about 8 months ago
actually I have same problem, can see it on firefox, but when I use safari it does work. please help!
about 8 months ago
Do you have a site address?
about 8 months ago
I like this player, thanx for the hard work on it.
question … the playlist displays the names of the mp3 files, is there a way to get it to get it to display something more descriptive? Thanks.
about 8 months ago
eventually I wil make a flash player that will be able to pull all the ID3 tags from the music I have to learn a lot more about flash so eventually there will be one.
Thanks for the feedback!
about 8 months ago
Hi, thank you for the plugin. It’s working great. I just have a questions, How can I remove the link to http://www.premiumbeat.com that come with the player?
thank you.
about 8 months ago
You have to go the Premium Beat to pay for the player but eventually just like I said on the previous comment I wil update a new flash player.
Thank you!
about 8 months ago
Hi, so is this it at all possible to embed this played in a static page? Thanks
about 8 months ago
as you can see here:
MP3 test plugin page
Yes but not until next version upgrade probably tonight.
about 8 months ago
I updated the plugin and deleted all my mp3 I had in the required folder!! :( (using automatically upgrading in wordpress 2.8)
about 8 months ago
I’m so sorry that might happen I will make sure that I try something else maybe a bold section in the options panel that says backup mp3 folder before automatic DL.
Just a quick question if you could put a player like the small one anywhere in your site would you use it? (i.e. post, pages, anywhere [shortags])
about 8 months ago
honestly, for a single mp3 player I prefer using µAudio Player, because I just link the mp3 wherever it is. I’m using that on http://www.iglesiazambrano.com. I love to have the control where I have my own mp3s. Thx for your reply and yes, that would be a good idea letting us know that all files will be deleted ;)
about 8 months ago
Thx for this excellent plugin. My humble suggestion: configure a custom folder where the mp3 are located, so we can have multiple playlist maybe. greetings from Mexico
about 8 months ago
yeah, i suppose we can do that…i had to check with the other admins 1st do you have a personal email i can send the login info to?
about 8 months ago
yes admin@thomasnorberg.com but before we do this check out the video:
MP3 Options Video
about 8 months ago
thanks very much for helping fix the problem, not many people these days go out of their way for complete strangers…
i’ll spread the word about the fine plugin,best one i’ve seen for wordpress
about 8 months ago
I like this player very much , and has been using it. But I have a problem, when the music file name is Chinese, playlists can not be displayed, shown as a blank and can not play. How to be able to support Chinese? Is it necessary to amend the content of “playlist.php”? Very much looking forward to your response!
about 8 months ago
I’m working on that for next release 1.1.4 hopefully will have it sorry about that…… But if you just change the name to English for now it should work.
about 8 months ago
just keep getting the same error: YOU HAVE MADE THE FOLLOWING ERRORS!!!! 1) You have entered an invalid HEX Color Code \ please read the directions!
and it displays this where the player should be on the site… i’ve tried several codes even the default #FFFFFF keeps giving me the color error….for now i dont care what color it is, i just wanted to get the player working
about 8 months ago
Um I don’t know if you want to do this but I can’t really troubleshoot something that I can’t see within the admin section….. So is there any way that you can send me temp passcode to set up plugins on your site and then delete the user when I am done? I know its a stupid question and possibly not a very good start but thats really is the only way I can see what is going on within your site.
about 8 months ago
Thanks for the upgrade/fix. Music plays now but the color of the player doesn’t change with the color picker.
about 8 months ago
hmm let me look into that it my be some malfunction with the code….#45432D is your color code in your page. it should have changed. It seems to me that it is working to display the code but the admin options are not working on your end? ….
Update: So maybe you might have hit the “GO” button and it went back to #FFFFFF and that might happen. So if you are changing the color and thats it just hit the “Save Changes” button instead. But if you change other options and you do not want the color to go back to the default hit the “GO” and then the “Save Changes” button. Sorry for the confusion I will see if I can fix that in later version so that this does not happen again.
about 8 months ago
Thanks
Okay, I tried it as you mentioned but the color still didn’t change. I’m patient, I can wait until a later version in which that fix may be addressed. There isn’t a way I can just alter the code by hand by editing any files, is there?
PS: Great plugin! Thank you for creating it
about 8 months ago
1) The color picker works to pick the color right? If not try checking to see if javascript is enabled in your browser. 2) you cannot right click to view source on your site…. but you have to go to View the View source 3) I will upload a video on how to set player options.
Also try uploading some music and see if you can see a difference…. And try a more exotic color (pink) to see if it works.
about 8 months ago
Yup, the color picker works in the options screen for selecting a new color. I’ve tried all sorts of colors but it doesn’t change. I had some tunes uploaded earlier and tried changing the colors then, but it didn’t work. Then I removed the music and tried it again. Still didn’t change colors. I’ll wait for your video. I have a feeling, though, that its either something with Firefox or something with the color picker part itself.
about 8 months ago
Hey there,
I followed the the instructions and the fixes that you published in the comments on this page. However the songs will still not play. This is sad as it looks perfect with my page.
here is the code that I changed t to as per your previous post:
Please help, A Jr.
about 8 months ago
I just sent a new version to the wordpress site and it should show up shortly. version 1.1.3.
$earl = “wp-content/plugins/mp3-player-plugin-for-wordpress/mp3/”;
you forgot the
$earl = “/wp-content/plugins/mp3-player-plugin-for-wordpress/mp3/”;
about 8 months ago
player shows up, mp3 in list but will not play
about 8 months ago
go to: playlist.php file located in the plugin directory and change:
$earl = “/wp-content/plugins/mp3playeroptions/mp3/”;
to
$earl = “/wp-content/plugins/mp3-player-plugin-for-wordpress/mp3/”;
and sorry about that I will later tonight.
about 8 months ago
that did not fix? http://philandersmithadmissions.com/home/
about 8 months ago
you tried above fix???? but it did not work because your default page is
so try because the default code is set up to read fromnot
BUT The new version update should fix this issue and be able to link to the files and play them.
about 8 months ago
AWESOME!!! New update fixed it, you rock!!!
about 8 months ago
COOOOOOOL!!!!!!!! THANKS For REPLYING!!!!!!! and giving me feedback if you want different things let me know and I can see what I can do. I will eventually purchase the .swf files from premiumbeat.com or make my own to completely customize but that requires lot and lots and lots of work but we will see.
Thanks again glad you like it, I love it too lots of work went into making and learning the code.
Would you want to leave a link to your page where the plugin is located so that the other plugins connoisseurs can see it? I will link you on my site here on this page.
about 8 months ago
Looks good, but I can’t get them to play. I’ve uploaded them and they are listed in the player – just won’t play.
Do I need to change chmod settings for access? Do I have to wait for them to load in their entirety before they will start playing?
Cheers
about 8 months ago
Ok the default location of the playlist file is :
/wp-content/plugins/mp3-player-plugin-for-wordpress
you have:
/wordpress/wordpress/wp-content/plugins/mp3-player-plugin-for-wordpress
I also need to update the files to read the correct .zip location when downloaded. So you will need to do some editing until further updates can be arranged.
go to: playlist.php file located in the plugin directory and change: <?php //TITLE: playlist.php $dir = "mp3/"; $earl = "/wp-content/plugins/mp3-player-plugin-for-wordpress/mp3/"; $n = 0; $playlist = array(); ….. ….
to: <?php //TITLE: playlist.php $dir = "mp3/"; $earl = "wordpress/wordpress/wp-content/plugins/mp3-player-plugin-for-wordpress/mp3/"; $n = 0; $playlist = array(); ….. …
Then on the playlist22.php file the same kind of thing for the RSS support to work.
Thank you for pointing that out and I will fix it soon!
about 8 months ago
Make it a good one!:lol: It would be nice if it worked autoplay and when you move from page to page, he would have continued to play a song.
about 8 months ago
I’m not sure I understand your question but the autoplay option in the admin panel adjusts to make the it autoplay or not. In order to make the player continue from page to page I would have to incorporate a server option and I’m not to sure how to do that. I will look into it and let you know.
about 8 months ago
Hi Where I put the code for align the mp3 player in the center of sidebar. by default the player show in left but i cant found the code (if exists) for change to center. Reagards :razz: :razz:
about 8 months ago
Ok that would require some additional settings in the admin options and some code in the player show up option. I will update that in future versions of the plugin. If you know a little html you can go to wp-content/plugins/mp3playeroptions/mp3-play-widget.php you can add after <?php bla…. bla…. ?> <div align=”center”><p><?php embed_RSS(); ?> then that should work. Let me know if it doesn’t.