1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Use ng2-file-upload instead of jquery and add tags support to the video

upload form
This commit is contained in:
Chocobozzz 2016-06-07 22:34:02 +02:00
parent 8c255eb53c
commit e822fdaeee
15 changed files with 204 additions and 99 deletions

View file

@ -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