Increase thumbnail size on server
This commit is contained in:
parent
fcd8d3e030
commit
4363ce0e3e
|
@ -16,6 +16,7 @@ import { VideoFilter } from '@shared/models'
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class AccountVideosComponent extends AbstractVideoList implements OnInit, OnDestroy {
|
export class AccountVideosComponent extends AbstractVideoList implements OnInit, OnDestroy {
|
||||||
|
// No value because we don't want a page title
|
||||||
titlePage: string
|
titlePage: string
|
||||||
loadOnInit = false
|
loadOnInit = false
|
||||||
loadUserVideoPreferences = true
|
loadUserVideoPreferences = true
|
||||||
|
@ -77,11 +78,6 @@ export class AccountVideosComponent extends AbstractVideoList implements OnInit,
|
||||||
|
|
||||||
return this.videoService
|
return this.videoService
|
||||||
.getAccountVideos(options)
|
.getAccountVideos(options)
|
||||||
.pipe(
|
|
||||||
tap(({ total }) => {
|
|
||||||
this.titlePage = $localize`Published ${total} videos`
|
|
||||||
})
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
toggleModerationDisplay () {
|
toggleModerationDisplay () {
|
||||||
|
|
|
@ -16,6 +16,7 @@ import { VideoFilter } from '@shared/models'
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class VideoChannelVideosComponent extends AbstractVideoList implements OnInit, OnDestroy {
|
export class VideoChannelVideosComponent extends AbstractVideoList implements OnInit, OnDestroy {
|
||||||
|
// No value because we don't want a page title
|
||||||
titlePage: string
|
titlePage: string
|
||||||
loadOnInit = false
|
loadOnInit = false
|
||||||
loadUserVideoPreferences = true
|
loadUserVideoPreferences = true
|
||||||
|
@ -94,13 +95,6 @@ export class VideoChannelVideosComponent extends AbstractVideoList implements On
|
||||||
|
|
||||||
return this.videoService
|
return this.videoService
|
||||||
.getVideoChannelVideos(options)
|
.getVideoChannelVideos(options)
|
||||||
.pipe(
|
|
||||||
tap(({ total }) => {
|
|
||||||
this.titlePage = total === 1
|
|
||||||
? $localize`Published 1 video`
|
|
||||||
: $localize`Published ${total} videos`
|
|
||||||
})
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
generateSyndicationList () {
|
generateSyndicationList () {
|
||||||
|
|
|
@ -595,8 +595,8 @@ const STATIC_MAX_AGE = {
|
||||||
|
|
||||||
// Videos thumbnail size
|
// Videos thumbnail size
|
||||||
const THUMBNAILS_SIZE = {
|
const THUMBNAILS_SIZE = {
|
||||||
width: 223,
|
width: 280,
|
||||||
height: 122,
|
height: 157,
|
||||||
minWidth: 150
|
minWidth: 150
|
||||||
}
|
}
|
||||||
const PREVIEWS_SIZE = {
|
const PREVIEWS_SIZE = {
|
||||||
|
|
Loading…
Reference in New Issue