client/src/app/+my-library/my-videos/my-videos.component.html
Per channel: @for (channel of channels; track channel.id) { } { totalRecords, plural, =0 {No videos} =1 {1 video} other {{{ totalRecords | myNumberFormatter }} videos}} Search
Filter
@if (table.isColumnDisplayed('duration')) { | } @if (table.isColumnDisplayed('name')) { | } @if (table.isColumnDisplayed('privacy')) {
@if (video.blacklisted) { Blocked }
| } @if (table.isColumnDisplayed('sensitive')) { | } @if (table.isColumnDisplayed('playlists')) {
@for (playlist of (videosContainedInPlaylists[video.id] || []); track playlist) { {{ playlist.playlistDisplayName }} }
| } @if (table.isColumnDisplayed('insights')) { {video.views, plural, =0 {No views} =1 {1 view} other {{{ video.views | myNumberFormatter }} views}} @if (video.isLive) {
{video.viewers, plural, =0 {No viewers} =1 {1 viewer} other {{{ video.views | myNumberFormatter }} viewers}} } | } @if (table.isColumnDisplayed('comments')) { {video.comments, plural, =0 {No comments} =1 {1 comment} other {{{ video.comments | myNumberFormatter }} comments}} | } @if (table.isColumnDisplayed('published')) { {{ video.publishedAt | ptDate: 'short' }} | } @if (table.isColumnDisplayed('state')) { | } @if (table.isColumnDisplayed('language')) { @if (video.language?.id) { {{ video.language.label }} } | } {{ getNoResults(search) }}