aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-edit/shared
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos/+video-edit/shared')
-rw-r--r--client/src/app/videos/+video-edit/shared/video-edit.component.html5
-rw-r--r--client/src/app/videos/+video-edit/shared/video-edit.component.ts2
2 files changed, 7 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.html b/client/src/app/videos/+video-edit/shared/video-edit.component.html
index 092c0e862..7fd9af208 100644
--- a/client/src/app/videos/+video-edit/shared/video-edit.component.html
+++ b/client/src/app/videos/+video-edit/shared/video-edit.component.html
@@ -126,6 +126,11 @@
126 ></my-peertube-checkbox> 126 ></my-peertube-checkbox>
127 127
128 <my-peertube-checkbox 128 <my-peertube-checkbox
129 inputName="downloadEnabled" formControlName="downloadEnabled"
130 i18n-labelText labelText="Download enabled"
131 ></my-peertube-checkbox>
132
133 <my-peertube-checkbox
129 *ngIf="waitTranscodingEnabled" 134 *ngIf="waitTranscodingEnabled"
130 inputName="waitTranscoding" formControlName="waitTranscoding" 135 inputName="waitTranscoding" formControlName="waitTranscoding"
131 i18n-labelText labelText="Wait transcoding before publishing the video" 136 i18n-labelText labelText="Wait transcoding before publishing the video"
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.ts b/client/src/app/videos/+video-edit/shared/video-edit.component.ts
index 85e015901..3ed7a4a10 100644
--- a/client/src/app/videos/+video-edit/shared/video-edit.component.ts
+++ b/client/src/app/videos/+video-edit/shared/video-edit.component.ts
@@ -81,6 +81,7 @@ export class VideoEditComponent implements OnInit, OnDestroy {
81 const defaultValues: any = { 81 const defaultValues: any = {
82 nsfw: 'false', 82 nsfw: 'false',
83 commentsEnabled: 'true', 83 commentsEnabled: 'true',
84 downloadEnabled: 'true',
84 waitTranscoding: 'true', 85 waitTranscoding: 'true',
85 tags: [] 86 tags: []
86 } 87 }
@@ -90,6 +91,7 @@ export class VideoEditComponent implements OnInit, OnDestroy {
90 channelId: this.videoValidatorsService.VIDEO_CHANNEL, 91 channelId: this.videoValidatorsService.VIDEO_CHANNEL,
91 nsfw: null, 92 nsfw: null,
92 commentsEnabled: null, 93 commentsEnabled: null,
94 downloadEnabled: null,
93 waitTranscoding: null, 95 waitTranscoding: null,
94 category: this.videoValidatorsService.VIDEO_CATEGORY, 96 category: this.videoValidatorsService.VIDEO_CATEGORY,
95 licence: this.videoValidatorsService.VIDEO_LICENCE, 97 licence: this.videoValidatorsService.VIDEO_LICENCE,