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,

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hiramanpatil created an issue. See original summary.

hiramanpatil’s picture

Issue summary: View changes
hiramanpatil’s picture

Attached is the screen shot of the video upload widget settings and error message.

Znak’s picture

Assigned: Unassigned » Znak
Znak’s picture

Assigned: Znak » Unassigned
Status: Active » Needs review

You need to change upload_max_filesize on more 2M in your php.ini file.
How to do this is written here

hiramanpatil’s picture

Status: Needs review » Closed (works as designed)

Thanks @Znak,

I have updated php.ini settings and it worked.

hiramanpatil’s picture

Status: Closed (works as designed) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

yaach’s picture

@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?!