Commit 8765d4d4 authored by Ben Hayward's avatar Ben Hayward

spacing

1 merge request!450[Sprint/InterestingIguana](feat): max video size #1506
Pipeline #70786319 canceled with stages
in 2 minutes and 36 seconds
......@@ -407,7 +407,9 @@ export class AttachmentService {
if (file.size > window.Minds.max_video_file_size) {
throw new Error('File exceeds 1.9GB maximum size. Please try compressing your file.');
}
this.attachment.mime = 'video';
this.checkVideoDuration(file).then(duration => {
if (window.Minds.user.plus) {
window.Minds.max_video_length = window.Minds.max_video_length * 2; // Hacky
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment