HTTP Error when uploading mp4 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. When I try to upload my mp4 video file, I get an HTTP error. I tried uploading images and it did not give me the same HTTP error.
Here is a screenshot of the error:
I have tried the following to fix this issue:
- Deactivating all plugins one by one and my current theme
- Installing this plugin – https://github.com/getsource/default-to-gd
- Adding the following line to
.htaccess
:SetEnv MAGICK_THREAD_LIMIT 1
- 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' );
}
My php.ini config is also: upload_max_filesize = 200M
and post_max_size = 200M
. This is large enough to accomodate my video file, so that shouldn't be the issue.
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.