+
-
- •
- {video.views, plural, =1 {1 view} other {{{ video.views | myNumberFormatter }} views}}
-
-
-
-
- {{ video.byAccount }}
-
-
- {{ video.byVideoChannel }}
-
-
-
-
{{ video.privacy.label }}
-
-
-
{{ getStateLabel(video) }}
+
diff --git a/client/src/app/shared/video/video-miniature.component.ts b/client/src/app/shared/video/video-miniature.component.ts
index 72b652448..88b21b3a5 100644
--- a/client/src/app/shared/video/video-miniature.component.ts
+++ b/client/src/app/shared/video/video-miniature.component.ts
@@ -24,6 +24,7 @@ export type MiniatureDisplayOptions = {
date?: boolean
views?: boolean
by?: boolean
+ avatar?: boolean
privacyLabel?: boolean
privacyText?: boolean
state?: boolean
@@ -46,6 +47,7 @@ export class VideoMiniatureComponent implements OnInit {
date: true,
views: true,
by: true,
+ avatar: false,
privacyLabel: false,
privacyText: false,
state: false,
diff --git a/client/src/app/videos/recommendations/recommended-videos.component.html b/client/src/app/videos/recommendations/recommended-videos.component.html
index 74f9ed2a5..c6bdfee46 100644
--- a/client/src/app/videos/recommendations/recommended-videos.component.html
+++ b/client/src/app/videos/recommendations/recommended-videos.component.html
@@ -13,7 +13,7 @@
-
+
1" />
diff --git a/client/src/app/videos/recommendations/recommended-videos.component.ts b/client/src/app/videos/recommendations/recommended-videos.component.ts
index d4b4c929b..d4a5df19a 100644
--- a/client/src/app/videos/recommendations/recommended-videos.component.ts
+++ b/client/src/app/videos/recommendations/recommended-videos.component.ts
@@ -9,6 +9,7 @@ import { AuthService, Notifier } from '@app/core'
import { UserService } from '@app/shared/users/user.service'
import { I18n } from '@ngx-translate/i18n-polyfill'
import { SessionStorageService } from '@app/shared/misc/storage.service'
+import { MiniatureDisplayOptions } from '@app/shared/video/video-miniature.component'
@Component({
selector: 'my-recommended-videos',
@@ -24,6 +25,13 @@ export class RecommendedVideosComponent implements OnChanges {
autoPlayNextVideo: boolean
autoPlayNextVideoTooltip: string
+ displayOptions: MiniatureDisplayOptions = {
+ date: true,
+ views: true,
+ by: true,
+ avatar: true
+ }
+
readonly hasVideos$: Observable
readonly videos$: Observable