Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am using video module (version 8.x-1.2)
with Drupal (version 8.3.3 )
. I have updated video field widget to "Video Upload" and set Maximum upload size to 5 MB. But when I upload the video having size 2.3 MB it shows below error message.
"The file could not be saved because it exceeds 2 MB, the maximum allowed size for uploads.
File upload error. Could not move uploaded file.
This value should not be null."
Also on add video page, the help text below the input field is still "2 MB limit" even I have updated it to the 5 MB in 'Manage Form Display' settings.
Thanks,
Comment | File | Size | Author |
---|---|---|---|
#3 | video_upload_max_size_error.png | 18.01 KB | hiramanpatil |
#3 | video_upload_max_size_settings.png | 46.57 KB | hiramanpatil |
Comments
Comment #2
hiramanpatil CreditAttribution: hiramanpatil at Clarion Technologies commentedComment #3
hiramanpatil CreditAttribution: hiramanpatil at Clarion Technologies commentedAttached is the screen shot of the video upload widget settings and error message.
Comment #4
Znak CreditAttribution: Znak commentedComment #5
Znak CreditAttribution: Znak commentedYou need to change upload_max_filesize on more 2M in your php.ini file.
How to do this is written here
Comment #6
hiramanpatil CreditAttribution: hiramanpatil at Clarion Technologies commentedThanks @Znak,
I have updated php.ini settings and it worked.
Comment #7
hiramanpatil CreditAttribution: hiramanpatil at Clarion Technologies commentedComment #9
yaach CreditAttribution: yaach commented@Znak then what is the purpose of having a setting to specify the Maximum Upload Size if we then need to update our php.ini file?!