Note to self: WordPress and uploading .flv files

(October 21st, 2009)

It seems like the latest version of wordpress (2.8.5) does not allow the upload of .flv files. To fix that issue, do the following:

1. Locate the file wp-includes/functions.php
2. Locate the function “wp_check_filetype” (line 2228)

Then finally add the. flv mimetype into the $mimes array

‘flv’ => ‘video/flv’,

Done!

4 Responses to “Note to self: WordPress and uploading .flv files”

  1. Lyubo says:

    It was nice tip!

  2. St├ęphane says:

    Wow! It works! That was a great tip, THANKS!

  3. zoha says:

    wow! Great.

  4. Devin says:

    It worked! I was looking for a fix all day. You’re the man!

Leave a Reply