-
Notifications
You must be signed in to change notification settings - Fork 842
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
base: development
Are you sure you want to change the base?
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:
|
7d7acfc
to
6d768e4
Compare
6d768e4
to
c62e153
Compare
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