Safari will not play .mp4 movies

I upload a .mp4 movie to my server and Safari cannot play it. It displays a mass of numbers and such.
I found an article online that says to add a .htaccess file to my server at the, infamous, "root level"... what's this guy smokin'??? Could this possibly work? Has anyone had a similar experience with Safari not playing .mp4 videos? (They play just fine in QT Player)

Thanks

Mac Pro 2.66 Quad Xeon - Radeon 1900XT - Apple 23" Cinema Display, Mac OS X (10.4.11)

Posted on Feb 21, 2008 10:26 PM

Reply
7 replies

Mar 1, 2008 2:05 AM in response to Peter Mars

If you are having problems playing MPEG4 video in Quicktime 7.4 (and Apple are aware that some users have had such problems) you should carefully check in

/Library/Quicktime and
/Library/Internet Plug-ins and
Home/Library/Quicktime

to check whether you have any third party plug-ins that are not completely up to date.

Current versions of Flip4Mac and DiVX and Perian do NOT cause failure alone or in combination. However the one SPECIFIC extension that ALWAYS causes the failure alone or in groups is 3ivxMediaImp. All other 3ivx extensions DO work. Remove only that ONE SPECIFIC extension.

Please try this and see if it fixes your problem with QT Player, the QT Firefox Plugin, and iTunes not playing MPEG4 files (including mp4 files).

Older 3ivx and DivX components are often incompatible with new QuickTime versions and are, in many cases, obviated by component packs like Perian.

This is not the only explanation for issues with MPEG4 file playback in QuickTime 7.4 and later, however. The issue with videos from democracynow.org and others, for instance, is the result of that content not complying with MPEG4 standards (namely that they use bogus track dimensions). QuickTime had previously ignored invalid track dimensions but this was changed in order to support properly authored anamorphic content.

The recent update to QT 7.4.1 has fixed a number of issues but some problems are unavoidable when working with non-standards compliant content. The standards are important for many reasons including keeping hackers from manipulating improperly coded web pages.

However, there is a workaround (also the basis for why those files will still play in iTunes): there are a few ways to trick QuickTime into ignoring the invalid track data. For instance, rename the files .3GP and they'll show up just fine.

Post back if you want a list of the plug-ins you should have in order to play pretty much anything in Quicktime.

Mar 9, 2008 11:16 AM in response to Klaus1

Done... so far I cannot tell the difference tho, maybe because of the .htaccess file I added to the 1st level of my server. I found this information and tip on Google...

Create a file named "htaccess" containing the exact wording below, upload it to the first level of your web site server, and then add the "." in front. This fixes a problem some servers have with mime-types... supposedly. Anyway, it worked for my server and now Safari, Firefox, etc, all play .mp4 files with no problem! I tried this several times and finally used dreamweaver to type and then copy the the text into a file for uploading (richtext, plaintext, some format issue I guess??)

------------------------------

AddType audio/mpeg mp3
AddType audio/x-m4a m4a
AddType video/x-m4v m4v
AddType video/mp4 mp4

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Safari will not play .mp4 movies

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.