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

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

parent 6d54b4a5
Pipeline #71259417 passed with stages
in 32 minutes and 59 seconds
......@@ -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' });
......
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