About a week ago I sent out an email to the mailing list with an enhanced version of what I’m describing below… giving users the option of player, a download link and so on. If you’re interested in the enhanced code, please let me know.
To clarify the functionality described above, the html text of:
The <a href="file-1.mp3">quick</a> brown fox <a href="file-2.mp3">jumped</a> over the <a href="file-3.mp3">lazy</a> dog.
… will be converted into:
You have two options to get this cool functionality to work.
- Integrating the code into your own website or WordPress blog
That’s it! All your MP3 files will now be converted into a functional audio player.
Internoetics will serve the JS file and images. When users hit play there will be a tiny little icon linking back to this post. The downloaded package includes no branding. If you’re going to use the packaged code on your WordPress site you will have to edit the player.js file so that all URL’s point to your own server.
I personally wouldn’t use this for anything other than small files… and only if you don’t use audio files often. After all, it only renders a play and stop button. If you use lots of audio, you’re probably best using a more robust/customizable/scalable audio solution.
If you liked this article, you may also like: