Fix subtitle image upscaling in fullscreen mode
Tim Falken authored 6 months ago
Server renders image subtitles at 0.5 scale to reduce memory, but the
client-side CSS was limiting the image height to 35% and using maxWidth/
maxHeight constraints. This prevented the downscaled frames from properly
upscaling to fill the video player in fullscreen mode.
Changed the overlay image styling from restrictive max-constraints to
explicit width and height values:
- width: 100% (was maxWidth: 100%) forces image to fill container width
- height: auto (was maxHeight: 35%) allows proportional upscaling
- Combined with server placement headers, this allows reduced-resolution
frames to stretch and fill the display correctly in any mode.