You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
632 B
HTML
10 lines
632 B
HTML
3 years ago
|
<app-image-viewer *ngIf="getContentType() === 'image' && contentUrl" [imageUrl]="contentUrl"></app-image-viewer>
|
||
|
<app-video-viewer *ngIf="getContentType() === 'video' && this.blobUrl" [blobUrl]="this.blobUrl!"></app-video-viewer>
|
||
|
<app-audio-viewer *ngIf="getContentType() === 'audio' && this.blobUrl" [blobUrl]="this.blobUrl!"></app-audio-viewer>
|
||
|
|
||
|
<div *ngIf="getContentType() === 'other'" class="download-prompt">
|
||
3 years ago
|
<span>Unsupported content type <b>{{this.file.mime_type}}</b></span>
|
||
|
<button (click)="this.downloadContent()" color="primary" mat-flat-button>Download</button>
|
||
3 years ago
|
</div>
|
||
|
<app-busy-indicator></app-busy-indicator>
|