From 9123d9a6cfa2af511b17591541ab2e67aa83475f Mon Sep 17 00:00:00 2001 From: James Taylor Date: Thu, 1 Oct 2020 13:38:57 -0700 Subject: Fix video height not scaling down when browser window is narrow This solution still makes sure the video doesn't jump in height when it loads, and makes it so the video scales down properly in aspect ratio as the browser window is made narrower. --- youtube/watch.py | 1 + 1 file changed, 1 insertion(+) (limited to 'youtube/watch.py') diff --git a/youtube/watch.py b/youtube/watch.py index 75d9ffd..0746cd6 100644 --- a/youtube/watch.py +++ b/youtube/watch.py @@ -473,6 +473,7 @@ def get_watch_page(video_id=None): settings = settings, video_height = video_height, + video_width = video_width, theater_video_target_width = theater_video_target_width, title = info['title'], -- cgit v1.2.3