-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Feat: Display player overlay controls on keyboard interaction #7757
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
Feat: Display player overlay controls on keyboard interaction #7757
Conversation
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Head branch was pushed to by a user without write access
Conflicts have been resolved. A maintainer will review the pull request shortly. |
src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.js
Outdated
Show resolved
Hide resolved
src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.js
Outdated
Show resolved
Hide resolved
Head branch was pushed to by a user without write access
Head branch was pushed to by a user without write access
Changes applied! |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
Head branch was pushed to by a user without write access
Changes applied. Thanks for the suggestion! |
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:
Not addressed:
Works on YT but not useful to implement within FT
i suggest following them |
Head branch was pushed to by a user without write access
Head branch was pushed to by a user without write access
Co-authored-by: absidue <[email protected]>
Head branch was pushed to by a user without write access
cdbe2cf
to
4a53e12
Compare
Rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.js
Outdated
Show resolved
Hide resolved
Head branch was pushed to by a user without write access
edfeef4
Changes applied. |
* 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
Pull Request Type
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
Desktop