How to use the HTML5 audio element with a Flash fallback option for Firefox

via – http://adactio.com/journal/1669/

… Just flip the order of what constitutes fallback content

Just flip the order of what constitutes fallback content:
<object data="flashplayer.swf?audio=file.mp3">
 <param name="movie" value="flashplayer.swf?audio=file.mp3">
  <audio controls src="file.mp3">
   <a href="file.mp3">ah, just download it</a>
  </audio>
</object>
Advertisements
Tagged