Skip to content

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

🐛 FIX: player width/heigth aspect ratio to remove unnecessary black border above and below the video

Jonas Sulzer37ecefa256bb
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 f22ffc0eaf..2e566e3fbf 100644
--- a/client/src/app/+videos/+video-watch/video-watch.component.scss
+++ b/client/src/app/+videos/+video-watch/video-watch.component.scss
@@ -3,7 +3,7 @@
@import '_bootstrap-variables';
@import '_miniature';
-$player-factor: 1.7; // 16/9
+$player-factor: #{16/9};
$video-info-margin-left: 44px;
@function getPlayerHeight($width){