Skip to content

Feat: Display player overlay controls on keyboard interaction - #7757

Merged
FreeTubeBot merged 11 commits into
FreeTubeApp:developmentfrom
caetano-dev:progressIndicator
Sep 21, 2025
Merged

FreeTubeBot merged 11 commits into
FreeTubeApp:developmentfrom
caetano-dev:progressIndicator

Conversation

@caetano-dev

Copy link
Copy Markdown
Contributor

Pull Request Type

  • Feature Implementation

Related issue

Closes #7458

Description

Shows the video controls when the users interacts with the video using the keyboard, similar to YouTube.

Screenshots

video.mp4

Testing

  1. Open any video
  2. Use J, L, <, >, M and arrow keys to interact with the video
  3. See the controls show up

Desktop

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

@github-actions github-actions Bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Jul 30, 2025
@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) July 30, 2025 20:01
@github-actions github-actions Bot added PR: merge conflicts / rebase needed and removed PR: waiting for review For PRs that are complete, tested, and ready for review labels Aug 9, 2025
@github-actions

github-actions Bot commented Aug 9, 2025

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

auto-merge was automatically disabled August 9, 2025 13:20

Head branch was pushed to by a user without write access

@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) August 9, 2025 13:21
@github-actions

github-actions Bot commented Aug 9, 2025

Copy link
Copy Markdown
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

auto-merge was automatically disabled August 10, 2025 11:45

Head branch was pushed to by a user without write access

@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) August 10, 2025 11:45
auto-merge was automatically disabled August 10, 2025 11:48

Head branch was pushed to by a user without write access

@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) August 10, 2025 11:48
@caetano-dev

Copy link
Copy Markdown
Contributor Author

Changes applied!

PikachuEXE
PikachuEXE previously approved these changes Aug 11, 2025

@PikachuEXE PikachuEXE left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine but I have no idea how YT works (rarely use it since FT

@kommunarr kommunarr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: put showOverlayControls() at the end of the showValueChange implementation since it appears to be being done after each use of it

auto-merge was automatically disabled August 12, 2025 11:31

Head branch was pushed to by a user without write access

@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) August 12, 2025 11:31
@caetano-dev

Copy link
Copy Markdown
Contributor Author

Changes applied. Thanks for the suggestion!

@efb4f5ff-1298-471a-8973-3d47447115dc

efb4f5ff-1298-471a-8973-3d47447115dc commented Aug 12, 2025 •

Copy link
Copy Markdown
Member

so i dug a little more into what YT does with their other keyboard shortcuts and this is what i found out:

Shortcuts YT shows the player UI but FT does not (yet)

Addressed by this PR:

  • J
  • L
  • left arrow
  • right arrow
  • O | <
  • P | >
  • arrow up
  • arrow down
  • m

Not addressed:

  • home
  • end
  • 0..9
  • ctrl + left (it does not here but i think that might be an oversight because they do it for ctrl + right and other playback related controls)
  • ctrl + right
  • f (it does this sometimes within FT)
  • m
  • c

Works on YT but not useful to implement within FT

  • shift + P
  • shift + N

i suggest following them

auto-merge was automatically disabled August 13, 2025 14:08

Head branch was pushed to by a user without write access

@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) August 13, 2025 14:08
auto-merge was automatically disabled August 13, 2025 14:25

Head branch was pushed to by a user without write access

auto-merge was automatically disabled September 18, 2025 11:16

Head branch was pushed to by a user without write access

@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) September 18, 2025 11:17
@caetano-dev

Copy link
Copy Markdown
Contributor Author

Rebased.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im receiving errors when pressing f

VirtualBoxVM_FcmLP1dZq1

@efb4f5ff-1298-471a-8973-3d47447115dc efb4f5ff-1298-471a-8973-3d47447115dc added PR: waiting for review For PRs that are complete, tested, and ready for review and removed PR: changes requested labels Sep 19, 2025
kommunarr
kommunarr previously approved these changes Sep 19, 2025
@efb4f5ff-1298-471a-8973-3d47447115dc efb4f5ff-1298-471a-8973-3d47447115dc added PR: changes requested and removed PR: waiting for review For PRs that are complete, tested, and ready for review labels Sep 20, 2025
auto-merge was automatically disabled September 20, 2025 16:54

Head branch was pushed to by a user without write access

@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) September 20, 2025 16:54
@caetano-dev

Copy link
Copy Markdown
Contributor Author

Changes applied.

@PikachuEXE PikachuEXE added PR: waiting for review For PRs that are complete, tested, and ready for review and removed PR: changes requested labels Sep 21, 2025
@FreeTubeBot
FreeTubeBot merged commit 7251ec7 into FreeTubeApp:development Sep 21, 2025
@github-actions github-actions Bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 21, 2025
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Sep 22, 2025
* development: (24 commits)
  Add proxy login support (FreeTubeApp#7996)
  Migrate the History view to the composition API (FreeTubeApp#8064)
  Fix player button hiding (FreeTubeApp#8065)
  Translated using Weblate (Norwegian Bokmål)
  Translated using Weblate (Indonesian)
  Fix playback rate reset when video ends (FreeTubeApp#7718)
  Skip Electron binary download in CI as we do not run it (FreeTubeApp#8063)
  Feat: Display player overlay controls on keyboard interaction (FreeTubeApp#7757)
  Translated using Weblate (Hungarian)
  Translated using Weblate (Czech)
  Translated using Weblate (Estonian)
  Translated using Weblate (French)
  Bump electron from 37.4.0 to 38.1.0 (FreeTubeApp#8025)
  Translated using Weblate (Dutch)
  Translated using Weblate (Portuguese (Brazil))
  Translated using Weblate (German)
  Translated using Weblate (Breton)
  Translated using Weblate (Italian)
  Translated using Weblate (Chinese (Simplified Han script))
  Support exporting single playlists as a list of video URLs (FreeTubeApp#8054)
  ...

# Conflicts:
#	src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.js
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.

[Feature Request]: Display video progress indicator on player interaction

6 participants