Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.htaccess rules for HTML5 video
AddType video/mp4 .mp4 .m4v
AddType video/ogg .ogv .ogg
RewriteRule ^(.*)\.ogv - [E=no-gzip:1]
RewriteRule ^(.*)\.mp4 - [E=no-gzip:1]
RewriteRule ^(.*)\.m4v - [E=no-gzip:1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.