I just successfully modded this plug-in to:
1) on a Flash-capable desktop browser, work as is
2) on a non-Flash-capable browser such as iPhone/iPad, display a direct link to the file, of the format:
Listen
Works for me (even though I’m aware people could grab the direct URL of the file — I’m not concerned about it in my case).
If you want to implement this, open /wp-content/plugins/audio-player/audio-player.php
and find line 545 (which currently begins with $playerCode = ‘<p class=”audioplayer_container”>)
and replace line 545 with this:
[code]
$playerCode = '<p class="audioplayer_container"><span style="display:block;padding:0 0 0 50px;" id="' . $playerElementID . '">' . 'Listen</p>';
[/code]
Oops, sorry for the formatting mess. It doesn’t look like I can edit my post, unfortunately, but the bottom line is the right code for line 545 is:
$playerCode = '<p class="audioplayer_container"><span style="display:block;padding:0 0 0 50px;" id="' . $playerElementID . '">' . '<a href="' . "$actualFile" . '">Listen</a></p>';
See also this modification: Audio Player 2.0.4.1 with HTML5 Fallback.
This will directly inject a HTML5 audio element if supported by the browser.
Norbert