Hard-coded Audio Player

Continuing work today on my free theme and I'm trying to make it kick some butt. I would like to embed an audio player into the theme. Not a plugin, an embedded player.

The functionality of http://wpaudioplayer.com/standalone/ kicks some serious boo-tay.

However, that player is a bit ugly. I do like the Woo Tumblog audio player (anybody know if I can implement this... people may make commercial themes off this theme so it needs to be legal?). If there's a great looking player option out there that's distributable in commercial themes, simple, and well-designed let me know.

I assume I can just replace the .swf file in WP Audio Player... right?

May the force be with you.

Topic flash audio theme-development Wordpress

Category Web


I would recommend that you have your theme require the wordpress.org version of the wpaudioplayer plugin. There is a great article about having themes check for and require plugins.

As is well-argued on this WPSE answer, it's not a great idea to take code from a plugin and include it in your theme because you miss future updates and it might be legally/morally iffy. Best of all, if a person who purchases your theme chooses to switch themes some day, all their audio players will still work and they'll be very happy and thank you forever.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.