WordPress.org

Ready to get started?Download WordPress

Ideas

MIME type for flv

  1. japanitrat
    Member

    12345

    wp-includes/functions.php - function wp_check_filetype()
    adding to the $mimes array:
    'flv' => 'video/x-flv'

    because i want to upload flv videos via the upload form.

    hint:
    if your video is too big for your php-configuration, you might increase the upload_max_filesize by resetting that value. you can do this by placing an .htaccess file into wp-admin folder, which holds the line "php_value upload_max_filesize SIZE", whereas SIZE must be an integer referencing the amount of bytes.
    for instance, if you want to reset the maximum file size to 32mb, you have to replace SIZE with 33554432 (1024 * 1024 * 32)...

    Posted: 7 years ago #
  2. japanitrat
    Member

    12345

    also, you might increase post_max_size and memory_limit consequently.

    it makes sense that if you have a large file and a low bandwidth for upload, you migh increase max_execution_time and max_input_time in a way, which avoids a timeout.

    Posted: 7 years ago #
  3. queenvictoria
    Member

    you might find that this pjw-mime-config plugin solves this problem for you.

    Posted: 4 years ago #
  4. Chip Bennett
    Theme Review Admin

    The pjw Mime Config plugin does appear to provide exactly the requested functionality.

    Posted: 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    3 Votes
  • Status

    This is plugin territory