1 <div class=
"video-miniature" [ngClass]=
"{ 'display-as-row': displayAsRow }" (mouseenter)=
"loadActions()">
3 [video]=
"video" [nsfw]=
"isVideoBlur"
4 [displayWatchLaterPlaylist]=
"isWatchLaterPlaylistDisplayed()" [inWatchLaterPlaylist]=
"inWatchLaterPlaylist" (watchLaterClick)=
"onWatchLaterClick($event)"
7 <div class=
"video-bottom">
8 <div class=
"video-miniature-information">
11 class=
"video-miniature-name"
12 [routerLink]=
"[ '/videos/watch', video.uuid ]" [attr.title]=
"video.name" [ngClass]=
"{ 'blur-filter': isVideoBlur }"
15 <span class=
"video-miniature-created-at-views">
16 <my-date-toggle *
ngIf=
"displayOptions.date" [date]=
"video.publishedAt"></my-date-toggle>
19 <ng-container *
ngIf=
"displayOptions.date && displayOptions.views"> •
</ng-container>
20 <ng-container i18n *
ngIf=
"displayOptions.views">{video.views, plural, =
1 {
1 view} other {{{ video.views | myNumberFormatter }} views}}
</ng-container>
23 <ng-container *
ngIf=
"displayOptions.privacyLabel">
24 <span *
ngIf=
"isUnlistedVideo()" class=
"badge badge-warning ml-1" i18n
>Unlisted
</span>
25 <span *
ngIf=
"isPrivateVideo()" class=
"badge badge-danger ml-1" i18n
>Private
</span>
29 <a tabindex=
"-1" *
ngIf=
"displayOptions.by && displayOwnerAccount()" class=
"video-miniature-account" [routerLink]=
"[ '/accounts', video.byAccount ]">
32 <a tabindex=
"-1" *
ngIf=
"displayOptions.by && displayOwnerVideoChannel()" class=
"video-miniature-channel" [routerLink]=
"[ '/video-channels', video.byVideoChannel ]">
33 {{ video.byVideoChannel }}
36 <div class=
"video-info-privacy">
37 <ng-container *
ngIf=
"displayOptions.privacyText">{{ video.privacy.label }}
</ng-container>
38 <ng-container *
ngIf=
"displayOptions.privacyText && displayOptions.state && getStateLabel(video)"> -
</ng-container>
39 <ng-container *
ngIf=
"displayOptions.state">{{ getStateLabel(video) }}
</ng-container>
42 <div *
ngIf=
"displayOptions.blacklistInfo && video.blacklisted" class=
"video-info-blacklisted">
43 <span class=
"blacklisted-label" i18n
>Blacklisted
</span>
44 <span class=
"blacklisted-reason" *
ngIf=
"video.blacklistedReason">{{ video.blacklistedReason }}
</span>
47 <div i18n *
ngIf=
"displayOptions.nsfw && video.nsfw" class=
"video-info-nsfw">
52 <div class=
"video-actions">
53 <!-- FIXME: remove bottom placement when overflow is fixed in bootstrap dropdown -->
54 <my-video-actions-dropdown
55 *
ngIf=
"showActions" [video]=
"video" [displayOptions]=
"videoActionsDisplayOptions" placement=
"bottom-left bottom-right left"
56 (videoRemoved)=
"onVideoRemoved()" (videoBlacklisted)=
"onVideoBlacklisted()" (videoUnblacklisted)=
"onVideoUnblacklisted()"
57 ></my-video-actions-dropdown>