From 60233e90d280eb865d396b30b63c0e88d13ca7db Mon Sep 17 00:00:00 2001 From: kontrollanten <6680299+kontrollanten@users.noreply.github.com> Date: Wed, 16 Mar 2022 10:57:36 +0100 Subject: add client.videos.upload.maxChunkSize config (#4857) * add client.videos.upload.maxChunkSize config * updates after review * remove maxChunkSize from custom-config --- .../+videos/+video-edit/video-add-components/video-upload.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/src/app/+videos') diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts index 5655e48da..c4438d777 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts +++ b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts @@ -282,7 +282,8 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy this.resumableUploadService.handleFiles(file, { ...this.uploadxOptions, - metadata + metadata, + maxChunkSize: this.serverConfig.client.videos.resumableUpload.maxChunkSize }) this.isUploadingVideo = true -- cgit v1.2.3