]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/images/image-upload.component.html
Add audio support in upload
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / images / image-upload.component.html
CommitLineData
702785a5 1<div class="root">
40e87e9e
C
2 <my-reactive-file
3 [inputName]="inputName" [inputLabel]="inputLabel" [extensions]="videoImageExtensions" [maxFileSize]="maxVideoImageSize"
4 (fileChanged)="onFileChanged($event)"
5 ></my-reactive-file>
702785a5
C
6
7 <img *ngIf="imageSrc" [ngStyle]="{ width: previewWidth, height: previewHeight }" [src]="imageSrc" class="preview" />
8 <div *ngIf="!imageSrc" [ngStyle]="{ width: previewWidth, height: previewHeight }" class="preview no-image"></div>
9</div>