Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Increase thumbnails size

Chocobozzze5fc7811ae0b
diff --git a/client/src/app/shared/video/abstract-video-list.ts b/client/src/app/shared/video/abstract-video-list.ts
index b0633be4ab..2cd5bc3937 100644
--- a/client/src/app/shared/video/abstract-video-list.ts
+++ b/client/src/app/shared/video/abstract-video-list.ts
@@ -41,8 +41,8 @@ export abstract class AbstractVideoList implements OnInit, OnDestroy {
displayModerationBlock = false
titleTooltip: string
- protected baseVideoWidth = 215
- protected baseVideoHeight = 205
+ protected baseVideoWidth = 238
+ protected baseVideoHeight = 225
protected abstract notifier: Notifier
protected abstract authService: AuthService
diff --git a/client/src/app/shared/video/video-miniature.component.scss b/client/src/app/shared/video/video-miniature.component.scss
index f44bdf9a93..66e59e6d37 100644
--- a/client/src/app/shared/video/video-miniature.component.scss
+++ b/client/src/app/shared/video/video-miniature.component.scss
@@ -5,7 +5,7 @@
display: inline-block;
padding-right: 15px;
margin-bottom: 30px;
- height: 175px;
+ height: 195px;
vertical-align: top;
.video-miniature-information {
diff --git a/client/src/app/shared/video/video-thumbnail.component.scss b/client/src/app/shared/video/video-thumbnail.component.scss
index 4772edaf0a..97a0e72ed7 100644
--- a/client/src/app/shared/video/video-thumbnail.component.scss
+++ b/client/src/app/shared/video/video-thumbnail.component.scss
@@ -4,7 +4,7 @@
.video-thumbnail {
display: inline-block;
position: relative;
- border-radius: 4px;
+ border-radius: 3px;
overflow: hidden;
width: $video-thumbnail-width;
height: $video-thumbnail-height;
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss
index 3780b75012..56ca4c2d36 100644
--- a/client/src/sass/include/_variables.scss
+++ b/client/src/sass/include/_variables.scss
@@ -44,8 +44,8 @@ $footer-margin: 30px;
$footer-border-color: $header-border-color;
-$video-thumbnail-height: 110px;
-$video-thumbnail-width: 200px;
+$video-thumbnail-height: 122px;
+$video-thumbnail-width: 223px;
$theater-bottom-space: 115px;
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 3656a23f96..c1be7f326f 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -610,8 +610,8 @@ let STATIC_MAX_AGE = '2h'
// Videos thumbnail size
const THUMBNAILS_SIZE = {
- width: 200,
- height: 110
+ width: 223,
+ height: 112
}
const PREVIEWS_SIZE = {
width: 560,