Skip to content

Commit

Permalink
.htaccess: Serve WebVTT files as text/vtt with UTF-8 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
alrra authored and mathiasbynens committed Jun 24, 2012
1 parent 288f992 commit 83f4f28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ AddType application/octet-stream safariextz
AddType application/x-web-app-manifest+json webapp
AddType text/x-vcard vcf
AddType application/x-shockwave-flash swf

AddType text/vtt vtt


# ----------------------------------------------------------------------
Expand Down Expand Up @@ -464,7 +464,7 @@ ErrorDocument 404 /404.html
AddDefaultCharset utf-8

# Force UTF-8 for a number of file formats
AddCharset utf-8 .css .js .xml .json .rss .atom
AddCharset utf-8 .atom .css .js .json .rss .vtt .xml



Expand Down

0 comments on commit 83f4f28

Please sign in to comment.