Fix player width with playlist
authorChocobozzz <me@florianbigard.com>
Fri, 2 Aug 2019 09:16:42 +0000 (11:16 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 2 Aug 2019 09:16:42 +0000 (11:16 +0200)
client/src/app/videos/+video-watch/video-watch.component.scss

index 5dc79c6b7555260390af0624a2f2d8ad6b50dddd..9c3f53b3db19fbf6281b7d65a832d984fabc176c 100644 (file)
@@ -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