Posted By

benjaminpearson on 05/12/11


Tagged

video htaccess html5


Versions (?)

.htaccess config for HTML5 videos


 / Published in: Apache
 

Found answer here: http://community.godaddy.com/groups/web-hosting/forum/topic/ogv-in-firefox-for-html5-video/

  1. RewriteCond %{REQUEST_FILENAME} !-f
  2. RewriteCond %{REQUEST_FILENAME} !-d
  3. RewriteCond %{REQUEST_URI} !=/favicon.ico
  4. AddType video/ogg .ogv
  5. AddType video/ogg .ogg
  6. AddType video/mp4 .mp4
  7. AddType video/webm .webm
  8. AddType application/x-shockwave-flash swf

Report this snippet  

You need to login to post a comment.