Commit 67ba3dac authored by Mark Harding's avatar Mark Harding
Browse files

(chore): plus max video length is 3x of normal

parent 6d54b4a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -482,7 +482,7 @@ export class AttachmentService {

        this.checkVideoDuration(file).then(duration => {
          if (window.Minds.user.plus) {
            window.Minds.max_video_length = window.Minds.max_video_length * 2; // Hacky
            window.Minds.max_video_length = window.Minds.max_video_length * 3; // Hacky
          }
          if (duration > window.Minds.max_video_length) {
            return reject({ message: 'Error: Video duration exceeds ' + window.Minds.max_video_length / 60 + ' minutes' });