Skip to content

[Bug fix] Set max-block-size to prevent thin videos from passing the bottom of view - #8386

Merged
FreeTubeBot merged 2 commits into
FreeTubeApp:developmentfrom
caetano-dev:thinVideos
Dec 10, 2025
Merged

FreeTubeBot merged 2 commits into
FreeTubeApp:developmentfrom
caetano-dev:thinVideos

Conversation

@caetano-dev

Copy link
Copy Markdown
Contributor

Pull Request Type

  • Bugfix

Related issue

Closes #7259

Description

Add max-block-size to fix an issue where videos with thinner aspect ratios extend past the bottom of view.

Screenshots

Left is the old version, right is the updated one (ignore the status bar).

Video with thinner aspect ratio:

Capture d’écran_2025-12-07_09-37-10

Video with regular aspect ratio (no differences):

Capture d’écran_2025-12-07_09-33-27

Shorts (no differences):

Capture d’écran_2025-12-07_09-34-38

Testing

  1. Open video with thinner aspect ratio, here's an example video.
  2. Enable theater mode view by turning it on or by disabling recommended videos in watch page within settings.
  3. See that the video no longer passes the bottom view, like the others.

Desktop

  • OS: Linux
  • OS Version: Ubuntu 24
  • FreeTube version: v0.23.12 Beta

Additional context

81vh is the value that I found to not affect the other videos while fixing the issue.

Copilot AI review requested due to automatic review settings December 7, 2025 13:10
@github-actions github-actions Bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Dec 7, 2025
@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) December 7, 2025 13:11

This comment was marked as spam.

@FreeTubeApp FreeTubeApp deleted a comment from Copilot AI Dec 7, 2025
@FreeTubeBot
FreeTubeBot merged commit 3d73f36 into FreeTubeApp:development Dec 10, 2025
@github-actions github-actions Bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Dec 10, 2025
@absidue

absidue commented Dec 12, 2025

Copy link
Copy Markdown
Member

I'll submit a revert and reopen the issue later today as this breaks full window mode.

A proper fix would probably involve adjusting our existing force aspect ratio logic or removing it and replacing it with a proper CSS replacement that doesn't break things like this pull request did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Some videos with thinner aspect ratios extend past the bottom of view

7 participants