diff options
author | Chocobozzz <me@florianbigard.com> | 2019-05-17 10:45:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-05-17 10:45:53 +0200 |
commit | 7b992a86b107fc2917b993127df8e95a66ae94db (patch) | |
tree | ebbd6ded7c855a233a917786e2a15d763de86338 /client/src/app/videos/+video-edit/video-add-components/video-upload.component.html | |
parent | 536598cfafab1c5e24e881db1c528489f804fb6b (diff) | |
download | PeerTube-7b992a86b107fc2917b993127df8e95a66ae94db.tar.gz PeerTube-7b992a86b107fc2917b993127df8e95a66ae94db.tar.zst PeerTube-7b992a86b107fc2917b993127df8e95a66ae94db.zip |
Support audio upload in client
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add-components/video-upload.component.html')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add-components/video-upload.component.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.html b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.html index 536769d2f..3247a2bd6 100644 --- a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.html +++ b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.html | |||
@@ -26,6 +26,27 @@ | |||
26 | </select> | 26 | </select> |
27 | </div> | 27 | </div> |
28 | </div> | 28 | </div> |
29 | |||
30 | <ng-container *ngIf="isUploadingAudioFile"> | ||
31 | <div class="form-group audio-preview"> | ||
32 | <label i18n for="previewfileUpload">Video background image</label> | ||
33 | |||
34 | <div i18n class="audio-image-info"> | ||
35 | Image that will be merged with your audio file. | ||
36 | <br /> | ||
37 | The chosen image will be definitive and cannot be modified. | ||
38 | </div> | ||
39 | |||
40 | <my-preview-upload | ||
41 | i18n-inputLabel inputLabel="Edit" inputName="previewfileUpload" [(ngModel)]="previewfileUpload" | ||
42 | previewWidth="360px" previewHeight="200px" | ||
43 | ></my-preview-upload> | ||
44 | </div> | ||
45 | |||
46 | <div class="form-group upload-audio-button"> | ||
47 | <my-button className="orange-button" i18n-label [label]="getAudioUploadLabel()" icon="upload" (click)="uploadFirstStep(true)"></my-button> | ||
48 | </div> | ||
49 | </ng-container> | ||
29 | </div> | 50 | </div> |
30 | </div> | 51 | </div> |
31 | 52 | ||