This block of code works only if you remove the type attribute from the first source tag. By my reading of RFC 4337, that's a completely valid MIME type to use for MPEG 4 audio. It works with audio/mpeg, but that seems like a bit of a hack. <audio id="aud_01" controls="true" width="200" height="60" > <source src="http://images.gatwood.net/gatwood.net/music/Cinderella%20Suite.m4a" type="audio/mp4" media="screen"></source> <source src="http://images.gatwood.net/gatwood.net/music/Cinderella%20Suite.ogg" type="audio/ogg" media="screen"></source> <embed id="mov_01" src="http://images.gatwood.net/gatwood.net/music/Cinderella%20Suite.m4a" autostart=false height="60"></embed> </audio> See http://www.rfc-editor.org/rfc/rfc4337.txt
This is actually in Safari 4.0.3, but that version isn't in the version list.
I'm getting the same bug in WebKit 533 (Safari 5) as well.
(In reply to comment #2) > I'm getting the same bug in WebKit 533 (Safari 5) as well. Oh: Mac OS X 10.5.8 PPC.
This works correctly on 10.6.4, I wonder if UTI doesn't include "audio/mp4" on Leopard?
(In reply to comment #4) > This works correctly on 10.6.4, I wonder if UTI doesn't include "audio/mp4" on Leopard? Where would I look in 10.5 to confirm this?
Created attachment 61395 [details] proposed patch
Created attachment 61396 [details] revised patch
http://trac.webkit.org/changeset/63239