From e822fdaeee90cb7c70d5678f19249198cd7aae8c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 7 Jun 2016 22:34:02 +0200 Subject: Use ng2-file-upload instead of jquery and add tags support to the video upload form --- server/initializers/constants.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/initializers') diff --git a/server/initializers/constants.js b/server/initializers/constants.js index 6fa322010..22cbb1361 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js @@ -41,8 +41,8 @@ const THUMBNAILS_SIZE = '200x110' const THUMBNAILS_STATIC_PATH = '/static/thumbnails' const VIDEOS_CONSTRAINTS_FIELDS = { - NAME: { min: 1, max: 50 }, // Length - DESCRIPTION: { min: 1, max: 250 }, // Length + NAME: { min: 3, max: 50 }, // Length + DESCRIPTION: { min: 3, max: 250 }, // Length MAGNET_URI: { min: 10 }, // Length DURATION: { min: 1, max: 7200 }, // Number AUTHOR: { min: 3, max: 20 }, // Length -- cgit v1.2.3