Wednesday, July 16, 2008

A Nifty Flash Audio Player for MP3s

My client wanted to present an MP3 audio file on her blog, in a way that looked good, sounded good, and was easy for the user to figure out and click on. So far, the Flash audio player script I'm using has worked out really well. You can see and try it here on The Mojo Mom Blog.

We had to work out a few bugs. First, the code provided in the tutorial I followed (linked below) needed to be adjusted; it didn't work in some major browsers (my Flash genius friend Dan Smith re-wrote it for me). Second, we found out that MP3s which are going to be played by Flash need to have a standard bitrate and sampling rate. Last but not least, we had to overcome the Blogger application's ridiculous habit of inserting
tags into the middle of other tags such as the tag that is used here.

Here's the tutorial I just wrote: Flash Audio Player Tutorial.

Here's the Embedded MP3 Audio Player Tutorial that was my starting point, and I really appreciate Mindy McAdams for providing it.


Labels: , , ,