]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-edit/video-add.component.html
Hack 459 regarding Angular & i18n
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-edit / video-add.component.html
index f00cfe0162026008ded6f0af53ed2e6936e3f7df..9c2c01c65c38b23af1712eb7ede614d3d45140cf 100644 (file)
@@ -12,6 +12,7 @@
         <span i18n>Select the file to upload</span>
         <input #videofileInput type="file" name="videofile" id="videofile" [accept]="videoExtensions" (change)="fileChange()" />
       </div>
+      <span class="button-file-extension">(.mp4, .webm, .ogv)</span>
 
       <div class="form-group form-group-channel">
         <label i18n for="first-step-channel">Channel</label>
@@ -27,6 +28,7 @@
         <div class="peertube-select-container">
           <select id="first-step-privacy" [(ngModel)]="firstStepPrivacyId">
             <option *ngFor="let privacy of videoPrivacies" [value]="privacy.id">{{ privacy.label }}</option>
+            <option [value]="SPECIAL_SCHEDULED_PRIVACY">Scheduled</option>
           </select>
         </div>
       </div>
@@ -44,7 +46,7 @@
   <!-- Hidden because we want to load the component -->
   <form [hidden]="!isUploadingVideo" novalidate [formGroup]="form">
     <my-video-edit
-      [form]="form" [formErrors]="formErrors"
+      [form]="form" [formErrors]="formErrors" [videoCaptions]="videoCaptions"
       [validationMessages]="validationMessages" [videoPrivacies]="videoPrivacies" [userVideoChannels]="userVideoChannels"
     ></my-video-edit>