When iTunes is installed, it adds a registry key: "HKCR\.m4a\Content Type" = "audio/m4a". QuickTime (without iTunes) installs the same registry key as "Content Type" = "audio/x-m4a". QuickTime explicitly does not support "audio/m4a" codecs MIME types on either Mac or Windows, so .m4a files fail to load in WebKit when iTunes is installed.
Work around this by adding a hard coded entry to the MIME type map of ".m4a"->"audio/x-m4a".
Created attachment 92346 [details] Patch
<rdar://problem/9385799>
Comment on attachment 92346 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=92346&action=review > Source/WebCore/platform/win/MIMETypeRegistryWin.cpp:100 > mimetypeMap.add("wmlc", "application/vnd.wap.wmlc"); > + mimetypeMap.add("m4a", "audio/x-m4a"); I think the existing list is sorted in alphabetical order by extension.
(In reply to comment #4) > (From update of attachment 92346 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=92346&action=review > > > Source/WebCore/platform/win/MIMETypeRegistryWin.cpp:100 > > mimetypeMap.add("wmlc", "application/vnd.wap.wmlc"); > > + mimetypeMap.add("m4a", "audio/x-m4a"); > > I think the existing list is sorted in alphabetical order by extension. It looks like it's sorted in willy-nilly order. Would you like it to be sorted in alphabetical order?
Comment on attachment 92346 [details] Patch Adding cq+.
Comment on attachment 92346 [details] Patch Clearing flags on attachment: 92346 Committed r85886: <http://trac.webkit.org/changeset/85886>
All reviewed patches have been landed. Closing bug.