dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: htaccess file

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    33

    Exclamation htaccess file

    Does anyone know how to create an htaccess file, then properly add the following to make html5 videos work:

    AddType video/ogg .ogv
    AddType video/mp4 .mp4
    AddType video/webm .webm

  2. #2
    Join Date
    Jan 2010
    Location
    Perth
    Posts
    133
    Add a file in the top directory of what directory you would like to edit and name it .htaccess

  3. #3
    Join Date
    Mar 2011
    Posts
    6
    try...

    <IfModule mod_mime.c>

    AddType video/ogg .ogv
    AddType video/mp4 .mp4
    AddType video/webm .webm

    </IfModule>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles