Skip to content

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

Fix player height on mobile

Chocobozzzdc13623baa24
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 e198a8bb00..d0cefdc927 100644
--- a/client/src/app/+videos/+video-watch/video-watch.component.scss
+++ b/client/src/app/+videos/+video-watch/video-watch.component.scss
@@ -98,10 +98,14 @@ $video-info-margin-left: 44px;
}
@media screen and (max-width: 600px) {
+ #videojs-wrapper {
+ height: getPlayerHeight(100vw) !important;
+ }
+
.remote-server-down,
::ng-deep .video-js {
width: 100vw;
- height: getPlayerHeight(100vw)
+ height: getPlayerHeight(100vw) !important;
}
}
}