is there a way to attach mp4 or mov files to invoices and quotes? we do video production and some times we need to send a sample of the video produced with the invoice. so the file is uploaded on the client portal for reference
hillel
September 1, 2020, 4:11pm
2
The app supports uploading files, there is a ‘Documents’ tab on the edit invoice page
Yes i can upload all kinds of documents and photos but not video files like MP4 and MOV, do you i have to enable some feature or something?
hillel
September 1, 2020, 6:30pm
4
Understood, I think videos may require changing the code to support it.
* @var array
*/
public static $extraExtensions = [
'jpg' => 'jpeg',
'tif' => 'tiff',
];
/**
* @var array
*/
public static $allowedMimes = [// Used by Dropzone.js; does not affect what the server accepts
'image/png', 'image/jpeg', 'image/tiff', 'application/pdf', 'image/gif', 'image/vnd.adobe.photoshop', 'text/plain',
'application/msword',
'application/excel', 'application/vnd.ms-excel', 'application/x-excel', 'application/x-msexcel',
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/postscript', 'image/svg+xml',
'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'application/vnd.ms-powerpoint',
];
/**
* @var array
Great, i managed to add the video files types, but can’t upload files over 10mb…is there a size limit set ?
hillel
September 2, 2020, 5:20am
6
This limit is from a server configuration, the setting to change would depend on your web server
1 Like