Skip to content

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

Fix player width with playlist

Chocobozzz58f3c3f1095d
diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss
index 5dc79c6b75..9c3f53b3db 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.scss
+++ b/client/src/app/videos/+video-watch/video-watch.component.scss
@@ -82,7 +82,8 @@ $player-factor: 1.7; // 16/9
}
::ng-deep .video-js {
- width: getPlayerWidth(66vh);
+ width: 100%;
+ max-width: getPlayerWidth(66vh);
height: 66vh;
// VideoJS create an inner video player