Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix full window for videos with a 4:3 aspect ratio #5976

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

absidue
Copy link
Member

@absidue absidue commented Oct 27, 2024

Fix full window for videos with a 4:3 aspect ratio

Pull Request Type

  • Bugfix

Related issue

closes #5974

Description

For videos with a 4:3 aspect ratio we force the player container to be 16:9 and display black bars on the left and right side of the video instead of matching the aspect ratio of the video, to prevent the UI overflowing. As full window mode needs to be able to take up the entire window we have to remove the forced aspect ratio in that situation.

Screenshot and test case taken from the linked issue.

Screenshots

full-window-bug

Testing

  1. Open https://www.youtube-nocookie.com/embed/e22pjkN0AQY
  2. Trigger full window mode
  3. It should take up the whole window

Desktop

  • OS: Windows
  • OS Version: 10
  • FreeTube version: 0.22.0

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) October 27, 2024 22:01
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Oct 27, 2024
@FreeTubeBot FreeTubeBot merged commit afc6653 into FreeTubeApp:development Oct 28, 2024
5 checks passed
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Oct 28, 2024
@absidue absidue deleted the fix-full-window branch October 28, 2024 08:28
Soham456 pushed a commit to Soham456/FreeTube that referenced this pull request Dec 5, 2024
SuperAKWA pushed a commit to SuperAKWA/FreeTube that referenced this pull request Jan 24, 2025
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]: Full Window glitches out on certain videos
5 participants