Submitted by Jochus on 11 Jan 2011 - 09:54
Posted in
I recently had a problem with Firefox 3.6.12 and the Quicktime plugin. When I wanted to play an audio file, the audio file gets cut after 3 seconds, even if the audio file was longer than 3 seconds.
The problem was related to the mod_deflate compression of Apache HTTPD on our files. You need to disable this option for audio/video files.
We changed this detail in our .htaccess file:
<IfModule mod_deflate.c>
# Insert filter
SetOutputFilter DEFLATE
# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip
# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# Don't compress images/audio/video
SetEnvIfNoCase Request_URI \\.(?:gif|jpe?g|png|mp3|mp4|wav|avi|mpe?g)$ no-gzip dont-vary
# Make sure proxies don't deliver the wrong content
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
</IfModule>
Post new comment