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.
This commit is contained in:
James Taylor
2020-10-01 13:38:57 -07:00
parent 42e72395c0
commit 9123d9a6cf
2 changed files with 56 additions and 16 deletions

View File

@@ -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'],