I think it was Jeff Goldblum in Jurassic Park who used the phrase “Standing on the shoulders of giants” in reference to John Hammond using the hard work of scientists to clone dinosaurs without thought to the consequesnces. That’s exactly how I’ve been writing the my last couple of wordpress plugins, the difference being I don’t have to worry about my plugins running amok and killing people… I hope. I was looking for an audio solution for WordPress when I stumbled on the soundmanger2 website. I just pulled the code from the 360 demo page and cobbled it into a plugin.
Updated: 08/31/11 Minor Update to version 1.1.0
A request was made to remove the link to the mp3 on the title inside the player. This means that clicking on the title will no longer pause or play the audio, this also removes the right clicking to download the audio file.
Code Samples:
[ donut audio="http://www.scottslab.com/the_aquarium.mp3" title="The Aquarium mp3"]
If you are cutting and pasting remove the space between the first and last bracket.
There is a second minimal version this one has two options of float and align. I would recommend using one at time and not both.
[ mini_player audio="http://www.scottslab.com/the_aquarium.mp3" float="right"]
[ mini_player audio="http://www.scottslab.com/the_aquarium.mp3" float="left"]
[ mini_player audio="http://www.scottslab.com/the_aquarium.mp3" align="right"]
[ mini_player audio="http://www.scottslab.com/the_aquarium.mp3" align="left"]
Float Left:
Float Right:
