|
|
Why won't this work in Safari?
|
|
|
|
Senior User
Join Date: Jun 2002
Status:
Offline
|
|
On one of my websites, I have a link to an audio file (AAC format - m4a). The purpose of the link is to enable people to ("right click") download the file. The link works fine with IE, Firefox, Opera, but not with Safari.
When I right click and choose to download the linked file in Safari, I get a document with filename.m4a.html
Why? Anybody have any suggestions or work arounds?
|
17" MacBook Pro 2.66 GHz Intel Core 2 Duo | 320G HD | 8 GB RAM | 10.10.3
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
It sounds like the server is sending the wrong MIME type, and Safari is following the Apple guideline of giving the file the correct file extension for its type. Do you have a type set up for AAC?
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
|
|
|
|
|
|
|
Senior User
Join Date: Jun 2002
Status:
Offline
|
|
Originally Posted by Chuckit
It sounds like the server is sending the wrong MIME type, and Safari is following the Apple guideline of giving the file the correct file extension for its type. Do you have a type set up for AAC?
Thanks for the response, Chuck. . . could you please elaborate? Is there something specific my web host needs to do?
|
17" MacBook Pro 2.66 GHz Intel Core 2 Duo | 320G HD | 8 GB RAM | 10.10.3
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Oct 2004
Status:
Offline
|
|
I get the same thing with some custom program files. Safari always adds .txt on the end. Unlike Firefox, Safari doesn't seem to have a way of setting mime-types.
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Apr 2004
Location: Nagoya, Japan • 日本 名古屋市
Status:
Offline
|
|
When a web server sends a file to a web browser, its header includes information on what kind of data the file is, so the browser knows what to do with it. Your web server is errantly telling Safari that the AAC file is text/html data.
Your web host needs to look at its settings for Apache (or whatever web server is being used) and add the correct MIME type for AAC/M4A files. This sort of thing should really be properly configured to start with!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|