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 auto-generated RTL captions position #6314

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

absidue
Copy link
Member

@absidue absidue commented Dec 8, 2024

Fix auto-generated RTL captions position

Pull Request Type

  • Bugfix

Related issue

Description

Just like with the auto-generated captions for left-to-right languages YouTube also adds horizontal positioning to their auto-generated captions for right-to-left captions, however they use 100% (right side of captions area) instead of 0% (left side of captions area) so it wasn't getting caught by the existing logic to remove that positioning.

Screenshots

Before (screenshot taken from the linked issue):
freetube

After:
after

Testing

  1. Open https://www.youtube.com/watch?v=MdOC-P3gh4I
  2. Select the Arabic (auto-generated) subtitle track
  3. You should see the subtitles

Desktop

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

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Dec 8, 2024
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) December 8, 2024 18:41
@FreeTubeBot FreeTubeBot merged commit 00fce21 into FreeTubeApp:development Dec 9, 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 Dec 9, 2024
@absidue absidue deleted the arabic-auto-captions branch December 9, 2024 06:37
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]: Arabic (auto-generated) subtitles are not displaying during playback
5 participants