RSS feed blog feed : : del.icio.us : : newsletter : : free magazines : : find a job

Audio Player Wordpress Plugin

Posted by Ken Cheung on Monday, October 9, 2006 in Reviews, WordPress : : 27 comments

Last week was not a good week for me. Many times when I tried to save a post, I would get a server error message. The ISP eventually fixed the problem, but it was a very frustrating experience and resulted in a very unproductive week (I have six sites hosted with them and they were all having the same problem). However, I did find a mp3 player plugin for Wordpress. It works really nice. This is how the player looks like (feel free to click on the play arrow):


(lyrics here)

You can customize the colors of the player, pre/post appended clips (ie - "a word from our sponsor"), and configure it for podcasting. There are also options to determine what is included in the RSS feed. The plugin isn't suppose to place a player instance in the feed. Instead, you are suppose to choose what the plugin inserts into the feed. However, I noticed that even though the plugin defaults to "nothing" (meaning the feed shouldn't contain any reference to the audio file), there's a working player in both Bloglines and the new Google Reader. In Newsgator, there's no player but it does show a link to the mp3 file at the bottom of the post. Google Reader also has a link to the mp3 file. I like having the player in the feed, I'm just not sure how that is happening.

I did encounter two problems during the installation. First, after extracting the plugin, there's an audio-player folder and a file (audio-player.php) that sits outside of the audio-player folder. The first time I tried installing the plugin, I didn't see the file outside of the audio-player folder so I didn't ftp it over to the plugin directory. So, if you don't see the audio player in your plugin menu, you need to ftp "audio-player.php" to your plugin directory.

The second problem had to do with the code syntax (I left out the brackets):

audio:reasonforliving.mp3

Even though the mp3 file is located in the default "audio" directory, the file would not play. However, when I used the URL instead, the file plays (I left out the brackets):

audio:http://izachy.com/audio/reasonforliving.mp3

I'm happy with the plugin and would recommend it to anyone who wants to embed some audio files into their posts.

If you found this page interesting, bookmark and share it on:
del.icio.us : : digg : : yahoo : : furl : : reddit : : newsvine : : spurl : : blink : : simpy : : blogmarks

Posts of Interest

27 Comments »

Comment by Connie
2007-01-18 20:49:17

Help! I got the Audio player to install fine, but I can't get the Audio player to work. I tried both the code options you mentioned and it doesn't show up in my post. What settings do you recommend from the options page?

 
Comment by Ken
2007-01-18 22:17:33

Connie, these are my settings for the plugin options:

Audio files directory: /public_html/audio (my root directory is: public_html)
Replace [audio] syntax: checked
Enclosure integration: not checked
Replace all links to mp3 files: not checked
Pre-appended audio clip URL: blank
Post-appended audio clip URL: blank

Don't forget the brackets in the audio syntax:

[audio:http://izachy.com/audio/reasonforliving.mp3]

 
Comment by Jason
2007-01-21 15:36:48

I am having simalar problems, it is all installed my options are all default. But when I add the code nothing happens. I see the actual text in my post [audio:sound.mp3] no matter how I add it with the editor or in html, I cannot get the player to display and play. Anyone have any idea why?

 
Comment by Ken
2007-01-21 23:36:38

Jason, try using the full url to you mp3 file. For example, something like:

[audio:http://your-domain.com/your-audio-direcotry/sound.mp3]

 
Comment by Jason
2007-01-22 18:57:47

Yes I've tried just about everything. Including re-uploaded the files and it still doesn't work. Could the issue be with my server? This is the coolest plugin I've seen, I hope I get it sorted.[audio:sound.mp3] [audio:http://www.my-site.com/audio/sound.mp3]

 
Comment by Ken
2007-01-22 19:18:52

Try this to see if it will play my mp3:

[audio:http://izachy.com/audio/reasonforliving.mp3]

If that does not work, send me the url for your mp3 and I'll see if I can play it on my end.

 
Comment by Jason
2007-01-30 02:13:25

ok this may be a silly question…do I need to have some sort of flash player installed on my server for this to work?

 
Comment by Ken Cheung
2007-01-30 09:06:33

No, you don't need flash player on your server. The plugin inserts a flash player on the page to play the mp3. Have you tried looking through the comments on this page:

http://www.1pixelout.net/code/audio-player-wordpress-plugin/

 
Comment by Jonathan
2007-03-14 13:43:23

Ken, hopefully you can answer this question. My site is running WP1.5. I installed the plugin per instructions. Activated it. But when I go to the Options panel and click on Audio Player tab, the page doesn't show anything. And if my feedburner plugin is active, the page defaults to the feedburner plugin content. The player works fine on the page (all set to default), but I can't set any options. Please advise.

Jonathan

 
Comment by Ken Cheung
2007-03-14 22:30:49

Jonathan, I have not had that problem. Sounds like a conflict with another plugin. Looks like you already posted this question on the plugin site. Hopefully, someone there has the answer.

 
2007-07-24 21:09:00

[...] 原文来自:izachy [...]

 
Comment by Auria
2007-12-07 11:21:58

"you need to ftp "audio-player.php" to your plugin directory."

should we place the file within the plugin directory? or in the audio player folder?

Comment by Ken Cheung
2007-12-07 12:18:03

the plugin directory (not in the audio player folder)

 
 
Comment by Auria
2007-12-07 14:57:06

thanks

 
Comment by Kaye
2008-03-17 09:40:24

Hi Ken
I myself have tried everything to get this darn thing to work and nada?I can't figure this plugin out?My audio-player.php is in the plugins directory where it should be.I can see the player under my post and when I click on it it says can't open file.I use Firefox.When I click on the player arrow in IE it says buffering but never plays?
Thanks Kaye

Comment by Ken Cheung
2008-03-17 20:29:18

Kaye, looks like you got it to work. Glad I could be of no help. Ha-ha.

 
 
Comment by Kaye
2008-03-18 09:31:21

You were a big help Ken.Your site was the only one I could find with the best tutorial on this plugin and thanks for posting it.After a few tries I finally managed to get it to work.Thanks :-)
Kaye

 
Comment by Noesje
2008-04-23 10:31:16

Hey it really is a great plugin! Only it doesn't work :-(

See http://www.djkuyken.com/?page_id=21

I see the .swf but I don't hear any sound.
Can someone help me please??

Comment by Ken Cheung
2008-04-23 22:07:56

Looks like you finally got it to work.

 
 
Comment by Masoud
2008-07-09 10:26:31

I have the same problem, everything is set ok but nothing happens exactly like if I never put the audio code in the post.
and something lse, what do u use to enable ur newletter?

Comment by Ken Cheung
2008-07-09 22:08:37

I use FeedBurner for my newsletter, but I have not posted anything in awhile.

Not sure what is causing your Audio plugin problem. Remember the file name for the audio file is case sensitive.

 
 
Comment by luca
2008-08-05 05:01:06

Please, is there a way to get the plugin working also in comments, not only in new post or pages?

Comment by Ken Cheung
2008-08-06 22:32:21

I'll let you know if I figure out a way. The coolplayer plugin works in the comments.

 
 
Comment by Diurno
2008-10-13 16:38:44

Ken, how do you do the change of the title of the track?, because i only get "Track 1" in the players.

Comment by Ken Cheung
2008-10-13 17:17:40

It's not the audio player plugin. It has something to do with the mp3 file when it was ripped. Try re-ripping with a different mp3 ripper.

 
 
Comment by Bard
2008-11-19 08:00:23

Hi,
I got the player working but don't know how to get song and artist information to show in the player like in the example shown on the 1 pixel out site .
Can you hepl me with this?

Bard’s last blog post..

Comment by Ken Cheung
2008-11-19 12:58:20

That has nothing to do with the plugin setting. You should try re-ripping the song from a different mp3 ripper.

 
 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

iZachy Newsletter

Don't have time to visit iZachy everyday? Then sign up for my free newsletter. I'll send you an email when I have something to share with you. Your email address will be kept confidential and I will not share, sell, or rent it to anyone. You can unsubscribe at any time by clicking a link in the email.

Enter your email address to sign up for my newsletter: