I'm using Audio Field 6.x-1.0 with Drupal 6.20 on a client's site. This issue occurs regardless of which player is selected (currently Premium Beat Thin player): on pages with one or more MP3s uploaded, we sometimes get the default "embed" HTML for an MP3 instead of the object code for the player.

For example, see the second MP3 on this page:
http://www.1015themusicplace.com/downloads/john-gorka
And the single MP3 here:
http://www.1015themusicplace.com/downloads/tom-rush

Here is the HTML from the first page:

I Think of You

I'm From New Jersey
Ignorance and Privilege

Any ideas what this is happening--and why only for a few MP3s among many? According to client, the MP3s were all exported in the same way from the same audio production tool. Thanks in advance for help!

Comments

jodyfr’s picture

Title: Audio Player sometimes does not find selected player » Audio Field sometimes does not find selected player

(corrected issue title)

tamerzg’s picture

Status: Active » Fixed

I see the problem. One of your files has extension in uppercase (MP3) and the code didn't recognize that as mp3 so its displaying a default player. I fixed this issue, you can take latest dev.

jodyfr’s picture

Thanks for catching and fixing this! Can't believe I missed the difference in file extension case.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.