A new version of my Dynamic Audio Plug-in has been posted in WordPress Plug-ins.
Version 1.3 includes a much improved method of passing variables around, as well as the ability to check and see if WordPress is already loading an appropriate jQuery.
Coming in version 1.4: New Admin Interface (already prototyped in the 1.3 code)
In this tutorial we will examine a simple plug in created primarily as a jQuery script with just enough php to load the script. The purpose of this plug in is to change the functionality of links to audio files. If there is a link to an mp3 file on the page and the user clicks it we will add a small flash media player below the link. A second click on the link will hide the media player. In a later tutorial we will examine how to extend this to a wider range of audio types. At the end of this series of tutorials, you will have something akin to my “Dynamic-MP3″ plug in, without the administration pages.
Continue reading ‘A Simple Media Plugin – Part 1: Basic MP3 Player Replace’