Increase subtitle overlay max-height to 70% for proper upscaling
Server renders image subtitles at 0.5 scale to reduce memory usage. The previous max-height of 50% was too restrictive for the downscaled frames to display at a readable size. Increased max-height constraint from 50% to 70% to allow downscaled subtitle images to upscale sufficiently while maintaining reasonable bounds. This ensures subtitles remain visible in all playback modes (normal and fullscreen) without dominating the screen.
@@ -756,7 +756,7 @@ function bindImageSubtitleOverlay (player, videojs, prefs, session, item)
756
756
overlayImgEl.alt = 'Image subtitles';
757
757
overlayImgEl.style.display = 'none';
758
758
overlayImgEl.style.maxWidth = '100%';
759
overlayImgEl.style.maxHeight = '50%';
759
overlayImgEl.style.maxHeight = '70%';
760
760
overlayImgEl.style.margin = '0 auto';
761
761
overlayImgEl.style.objectFit = 'contain';
762
762
overlayImgEl.style.filter = 'drop-shadow(0 2px 2px rgba(0, 0, 0, 0.7))';
@@ -756,7 +756,7 @@ function bindImageSubtitleOverlay (player, videojs, prefs, session, item)756
overlayImgEl.alt = 'Image subtitles';756
overlayImgEl.alt = 'Image subtitles';757
overlayImgEl.style.display = 'none';757
overlayImgEl.style.display = 'none';758
overlayImgEl.style.maxWidth = '100%';758
overlayImgEl.style.maxWidth = '100%';759
overlayImgEl.style.maxHeight = '50%';759
overlayImgEl.style.maxHeight = '70%';760
overlayImgEl.style.margin = '0 auto';760
overlayImgEl.style.margin = '0 auto';761
overlayImgEl.style.objectFit = 'contain';761
overlayImgEl.style.objectFit = 'contain';762
overlayImgEl.style.filter = 'drop-shadow(0 2px 2px rgba(0, 0, 0, 0.7))';762
overlayImgEl.style.filter = 'drop-shadow(0 2px 2px rgba(0, 0, 0, 0.7))';