There are tons of plugins available to embed audio/video in your blog.
The things I don’t like with many of them are (a) they usually use “short codes”- things you hand write in brackets to indicate the location and source for the media (plus some options. Writing these means have to remember the structure, but more so, if you ever have to change to a different plugin down the road, you are left with short codes that might not mean anything.
For some reason I was thinking today about a new project where I wanted to have a simple embeddable audip player. Long ago I had used Taragana’s player, which makes use of the delciious.com PlayTagger. It too was simple, it replaced any hypertext link to an MP# with a small svelte player.
Plugin with attitude, bring it on! It works great, you can make it so any href tag that points to an MP3 uses the plugin (which is what I did), or you can make it so any links with a special css class are displayed with the player. I also modified the CSS a little to match my styles.
So for the blog post where I have audio of me explaining Twitter to my Mom, the hyperlink for this is written like regular HTML
So if I ever get rid of the plugin at least I have valid code. And It Just Works. Here’s a little sample, I think this is just some quick track I made in GarageBand- just give the player a click.
I am sure someone will comment with some other solution or better approach! But I like this one so far.
UPDATE August 15, 2011: If this player is not working for you in WordPress 3.x, apparently there is an edit you need to do to the plugin (since the developer is apparently not doing it) which fixed the player for me– see http://wordpress.org/support/topic/no-mp3-play-button-just-a-link?replies=9#post-2201546
The post "A Non Crappy WordPress Audio Player" was originally pulled from under moldy cheese at the back of the fridge at CogDogBlog (http://cogdogblog.com/2010/07/wpaudio/) on July 23, 2010.