Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Dziner

macrumors newbie
Original poster
Aug 5, 2004
2
0
I recenty designed a site for a client that requires playback of MP3 and Mp4 audio samples. Playback becomes encrypted in IE and Safari. It only seems to be a problem on Mac. I am able to play mp3's and 4's on other sites with IE and Safari, so I am completely stumped. If anyone has an idea, please advise.
The site is: http://www.manciniproductions.com navigate to "TV & Radio" and select tracks from the Audio Reel.
 
This usually happens when the web server doesn't know what content type a .mp4 or mp3 file is and so gives the generic one of text/plain. When the browsers see text/plain they don't download it but display the "text", which in reality is just all the garbage you see. I just checked and it appears that this is happening in this case.

To fix that you need to tell Apache what MIME content type to send for the files. Create a .htaccess file in the root directory of the website with the following in it

AddType audio/mpeg mp3
AddType audio/mp4 mp4

It's possible that your web host may not let you add types in this way, in which case you'll have to contact them.
 
Thanks. I tried it and it didn't work. I guess I'll have to contact the web host.
:(
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.