diff options
author | James Taylor <user234683@users.noreply.github.com> | 2020-10-01 13:38:57 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2020-10-01 13:38:57 -0700 |
commit | 9123d9a6cfa2af511b17591541ab2e67aa83475f (patch) | |
tree | 6837b3f3cf7159bd83d40d86005cd45b17e021ce /youtube/watch.py | |
parent | 42e72395c0cabc63bd493a8c86220c431c21b9b6 (diff) | |
download | yt-local-9123d9a6cfa2af511b17591541ab2e67aa83475f.tar.lz yt-local-9123d9a6cfa2af511b17591541ab2e67aa83475f.tar.xz yt-local-9123d9a6cfa2af511b17591541ab2e67aa83475f.zip |
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.
Diffstat (limited to 'youtube/watch.py')
-rw-r--r-- | youtube/watch.py | 1 |
1 files changed, 1 insertions, 0 deletions
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'], |