-
Notifications
You must be signed in to change notification settings - Fork 877
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
Make seekbar and player controls appear at bottom of video and take full width #6007
Make seekbar and player controls appear at bottom of video and take full width #6007
Conversation
On mobile it's probably best to leave it as it was before, because buttons burried right at the edge of the screen and in corners was a big problem with the previous player because they are really difficult to tap. Whereas with shaka-player's default layout that is not a problem, because they are far away from the edge. |
It should be resetting itself back to normal here on mobile: FreeTube/src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.css Lines 215 to 229 in 0482dd1
I will update it for better clarity though |
Thanks for looking at this! This looks nice, although two subtle things still seem off to me.
I hate to defer to the other app so much, but I think their solution can shine light on how to mitigate these problems. They have a 48px height for the controls section, and their seek bar is directly on top of the icons, not a half-seeker's distance away. |
Not sure what you mean by half-seeker's distance away. |
I'm referring to the visible seek bar being vertically displaced a bit by having the seek pointer not intersect with the controls container: The easiest way to fix this, I'd imagine, is to add a negative vertical margin such that the visible bar is touching the bottom of the allocated container size.
This looks a bit better, although I'd like to see the icons sized at 48x48 as well, as now the horizontal padding is noticeably smaller |
We probably shouldn't move the controls and seek bar too close together otherwise it increases the chance of misclicks, YouTube's seek bar has a much bigger target area and they also expand the seek bar when you hover over it, which is why it is okay for them to put them so close together. Additionally just want to reiterate again that none of these changes in this pull request should affect touch screens and mobile users as fingers are a lot bigger than a mouse pointer. |
To clarify, my suggestion was to make each icon element 48x48, not to increase the icon size. Am fine with not modifying the seek bar here since increasing the vertical padding should also make the discrepancy less noticeable. |
Pull request was closed
What would be the pro's and cons of this implementation versus current implementation? |
Pros:
Cons:
|
6d768e4
to
c62e153
Compare
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.
LGTM but i will wait for @kommunarr blessing first
c62e153
to
08c0785
Compare
@kommunarr I added a height of 40px and a line-height of 0.5 |
Hmm if i go fullscreen the controls dont use allot of width space. They dont appear as big as in the video.js player. |
8d38a4f
to
f4a7bfe
Compare
Idk if this is an issue but i thought it was worth pointing out and collecting the thoughts of other members on this |
I do think that's a fair concern from an accessibility & usability perspective. I have seen a good deal of user reports regarding issues with the target size. I haven't re-tested the PR in a bit and do not know if that has already been addressed. |
I totally don't understand what you have said |
Pika im talking about video.js icon size vs shaka |
Oh, video.js, I read it as |
Hmm on a second thought moving controls to the bottom didn't affect the icon size. If its an real issue than it could be addressed in a separate PR. But i doubt that this is an issue as users didn't report any issues with the size of the icons so im not going to look into it too much |
* development: (96 commits) Move Invidious API calls into Invidious file (FreeTubeApp#6313) Translated using Weblate (Spanish) Use word-break on live chat error message (FreeTubeApp#6327) Bump youtubei.js from 11.0.1 to 12.0.0 (FreeTubeApp#6323) Bump shaka-player from 4.12.3 to 4.12.4 (FreeTubeApp#6318) Make seekbar and player controls appear at bottom of video and take full width (FreeTubeApp#6007) Fix 'Object has been destroyed' when FreeTube is passed a URL with no windows open on macOS (FreeTubeApp#6278) Bump mikefarah/yq from 4.44.5 to 4.44.6 (FreeTubeApp#6324) Translated using Weblate (French) Bump sass-loader from 16.0.3 to 16.0.4 (FreeTubeApp#6319) Bump webpack from 5.96.1 to 5.97.1 (FreeTubeApp#6322) Bump sass from 1.81.0 to 1.82.0 (FreeTubeApp#6320) Bump lefthook from 1.8.5 to 1.9.0 (FreeTubeApp#6321) Bump @intlify/eslint-plugin-vue-i18n from 3.1.0 to 3.2.0 (FreeTubeApp#6317) Translated using Weblate (Estonian) Translated using Weblate (Basque) Translated using Weblate (Icelandic) Translated using Weblate (Hungarian) Translated using Weblate (German) Fix channel home page list view (FreeTubeApp#6316) ...
Make seekbar and player controls appear at bottom of video and take full width
Pull Request Type
Description
A subjective design change to move the seekbar lower and make the controls take the full width of the video on larger screens. This removes padding and increases width of player controls.
Screenshots
Testing
Desktop