h5bp/html5-boilerplate — Issue #875: Gzip in .htaccess Causing Playback Problems in MP4 Mobile Safari
Author: yahreen
Created: 2011-12-03 05:42:33+00:00
State: open

iPad 1
iOS 5.0.1

In the .htaccess file, specifically:

```

# HTML, TXT, CSS, JavaScript, JSON, XML, HTC:

FilterDeclare COMPRESS
FilterProvider COMPRESS DEFLATE resp=Content-Type /text/(html|css|javascript|plain|x(ml|-component))/
FilterProvider COMPRESS DEFLATE resp=Content-Type /application/(javascript|json|xml|x-javascript)/
FilterChain COMPRESS
FilterProtocol COMPRESS change=yes;byteranges=no

```

Causes MP4s on my server to start, but then stop about 1 second into the video

If I remove that part from the .htaccess file, the video plays back fine.