aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-edit/video-add.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add.component.ts')
-rw-r--r--client/src/app/videos/+video-edit/video-add.component.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-edit/video-add.component.ts b/client/src/app/videos/+video-edit/video-add.component.ts
index 843475647..066f945fc 100644
--- a/client/src/app/videos/+video-edit/video-add.component.ts
+++ b/client/src/app/videos/+video-edit/video-add.component.ts
@@ -52,6 +52,10 @@ export class VideoAddComponent extends FormReactive implements OnInit {
52 super() 52 super()
53 } 53 }
54 54
55 get videoExtensions () {
56 return this.serverService.getConfig().video.file.extensions.join(',')
57 }
58
55 buildForm () { 59 buildForm () {
56 this.form = this.formBuilder.group({}) 60 this.form = this.formBuilder.group({})
57 this.form.valueChanges.subscribe(data => this.onValueChanged(data)) 61 this.form.valueChanges.subscribe(data => this.onValueChanged(data))