client/src/app/+admin/overview/videos/video-list.component.html
{ totalRecords, plural, =0 {No videos} =1 {1 video} other {{{ totalRecords | myNumberFormatter }} videos}} | @if (video.isLocal) { Local } @else { Remote } @if (isUnpublished(video)) { {{ video.state.label }} } @if (isAccountBlocked(video)) { Account muted } @if (isServerBlocked(video)) { Server muted } @if (isVideoBlocked(video)) { Blocked }
@for (tag of video.automaticTags; track tag) { {{ tag }} } | @if (hasOriginalFile(video)) { Original file } @if (hasHLS(video)) { HLS } @if (hasWebVideos(video)) { Web Videos ({{ video.files.length }}) } @if (video.isLive) { Live } @if (hasObjectStorage(video)) { Object storage } @if (!isImport(video) && !video.isLive && video.isLocal) { {{ getFilesSize(video) | bytes: 1 }} } | {{ video.publishedAt | ptDate: 'short' }} | @if (hasOriginalFile(video)) { Original file:
} @if (hasWebVideos(video)) { Web Videos: @for (file of video.files; track file) { - {{ file.resolution.label }}: {{ file.size | bytes: 1 }} @if (canRemoveOneFile(video)) { } }
} @if (hasHLS(video)) { HLS: @for (file of video.streamingPlaylists[0].files; track file) { - {{ file.resolution.label }}: {{ file.size | bytes: 1 }} @if (canRemoveOneFile(video)) { } }
} @if (search) { No videos found matching current filters. } @else { Your platform doesn't have videos. }