Title: HTTP Error when uploading mp4 video file
Last modified: March 16, 2017

---

# HTTP Error when uploading mp4 video file

 *  [erbanach](https://wordpress.org/support/users/erbanach/)
 * (@erbanach)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/http-error-when-uploading-video-file/)
 * This is a repeat issue, but none of the other threads have had a solution that
   helps me.
 * I am using WordPress 4.7.3 running the [Dani theme from Envato](https://themeforest.net/item/dani-a-storming-portfolio-blog-template/16385251).
   When I try to upload my mp4 video file via the Media tab in the WP admin I get
   an HTTP error. The file upload worked fine for a smaller image that I tried to
   upload, it only errors out on the mp4 video upload.
 * I have tried the following to fix this issue:
    1. Deactivating all plugins one
   by one and my current theme 2. Installing this plugin – [https://github.com/getsource/default-to-gd](https://github.com/getsource/default-to-gd)
   3. Adding the following line to `.htaccess`: `SetEnv MAGICK_THREAD_LIMIT 1` 4.
   Adding the following code to `functions.php`:
 *     ```
          add_filter( 'wp_image_editors', 'change_graphic_lib' );
           function change_graphic_lib($array) {
           return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
           }
       ```
   
 * None of these have solved my issue. Is there something else I can try to fix 
   this? Please let me know! Thanks for the help.
    -  This topic was modified 9 years, 2 months ago by [erbanach](https://wordpress.org/support/users/erbanach/).
    -  This topic was modified 9 years, 2 months ago by [erbanach](https://wordpress.org/support/users/erbanach/).
    -  This topic was modified 9 years, 2 months ago by [erbanach](https://wordpress.org/support/users/erbanach/).

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [mdshak](https://wordpress.org/support/users/mdshak/)
 * (@mdshak)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/http-error-when-uploading-video-file/#post-8925324)
 * Hi,
    You are using the premium commerical theme. So i would suggest to contact
   Theme’s Author to get appropriate help at [https://themeforest.net/item/dani-a-storming-portfolio-shop-wordpress-theme/17238971/support](https://themeforest.net/item/dani-a-storming-portfolio-shop-wordpress-theme/17238971/support).
 * Thanks
    Mohammad
    -  This reply was modified 9 years, 2 months ago by [mdshak](https://wordpress.org/support/users/mdshak/).
 *  Thread Starter [erbanach](https://wordpress.org/support/users/erbanach/)
 * (@erbanach)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/http-error-when-uploading-video-file/#post-8935597)
 * I got this reply:
 * Hello,
 * thanks for purchasing my theme.
    This is not directly related to the the theme,
   but to your default wordpress or server settings. The theme has no impact on 
   the media uploader. You should check you maximum upload size.
 *  [mdshak](https://wordpress.org/support/users/mdshak/)
 * (@mdshak)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/http-error-when-uploading-video-file/#post-8935648)
 * Hi,
    The maximum upload size is controlled at the server-level, not by WordPress.
   Here are three ways you can increase the upload limit:
 * 1. If you can edit or override the system `php.ini` file, increase the maximum
   file and post sizes. For example, `upload_max_filesize = 100M ;` and `post_max_size
   = 100M ;`
 * 2. If you cannot edit or override the system `php.ini` file, add `php_value upload_max_filesize
   100M` and `php_value post_max_size = 100M` to your `.htaccess` file.
 * 3. If neither of these work, it’s time to ask your hosting provider to increase
   the maximum file and post sizes on your account. Keep in mind that most decent
   hosting providers allow this, and If your hosting provider won’t accommodate 
   you, perhaps it’s time to find a new hosting provider.
 * Thanks
    Mohammad
 *  [pebblestudiolondon](https://wordpress.org/support/users/pebblestudiolondon/)
 * (@pebblestudiolondon)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/http-error-when-uploading-video-file/#post-9092586)
 * Erbanach, Did you resolve this issue at all. From what I can see here the advice
   was hardly on the ball. As I am experiencing a similar issue and like you cannot
   find anything in the threads other than this issue is and has been for years 
   an ongoing problem. I can’t believe for example that file size was your issue
   because that always produces a file size limit message not an http error. There
   was absolutely no way this was a theme issue and directing you there was just
   a waste of time. Please let me know if and how you have resolved this. I would
   be grateful.
 *  [afrianto](https://wordpress.org/support/users/afrianto/)
 * (@afrianto)
 * [9 years ago](https://wordpress.org/support/topic/http-error-when-uploading-video-file/#post-9189309)
 * i have increased upload_max_filesize, but still not work
 *  [Earl_D](https://wordpress.org/support/users/earl_d/)
 * (@earl_d)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/http-error-when-uploading-video-file/#post-9286130)
 * Running into this problem as well. Running WP 4.8 on a VPS and managed WP servers
   with all the right file sizes set in pop.ini.
 *  [plumpprodigy](https://wordpress.org/support/users/plumpprodigy/)
 * (@plumpprodigy)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/http-error-when-uploading-video-file/#post-9374381)
 * I am able to get the videos to upload using an ftp server like filezilla. From
   there I can use the direct link to the mp4 when adding it in to slider revolution
   as an example. Works great. However, it still won’t appear in your media library.
 * Hope this solution works for you all. If you need more advice let me know.
 * PlumpProdigy
 *  [lideraplicaciones](https://wordpress.org/support/users/lideraplicaciones/)
 * (@lideraplicaciones)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/http-error-when-uploading-video-file/#post-9474522)
 * Please. I Have same problem. Is repeat issue. What is the final solution.
    Wordpress
   please, anwser.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘HTTP Error when uploading mp4 video file’ is closed to new replies.

## Tags

 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [mp4](https://wordpress.org/support/topic-tag/mp4/)
 * [video](https://wordpress.org/support/topic-tag/video/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 7 participants
 * Last reply from: [lideraplicaciones](https://wordpress.org/support/users/lideraplicaciones/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/http-error-when-uploading-video-file/#post-9474522)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
