@if((downloadQueue$ | async)?.length > 0) {

{{ 'PLUGIN.VIDEO.DOWNLOADS' | translate }}

@for(item of downloadQueue$ | async; track item.url) {
{{ extractFilename(item.url) }}

{{ (downloadStatus$ | async)[item.url]?.progress?.loaded || 0 | fileSize }} / {{ ((downloadStatus$ | async)[item.url]?.progress?.total | fileSize) || '---' }}

@if((downloadStatus$ | async)[item.url]?.status === 'FAILED') { }
{{ (downloadStatus$ | async)[item.url]?.progress?.percentage || 0 }}%
}
}@else {
}