Playlist videos component
[oweals/peertube.git] / client / src / app / shared / images / image-upload.component.html
1 <div class="root">
2   <my-reactive-file
3     [inputName]="inputName" [inputLabel]="inputLabel" [extensions]="videoImageExtensions" [maxFileSize]="maxVideoImageSize"
4     (fileChanged)="onFileChanged($event)"
5   ></my-reactive-file>
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>