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

Add MX Player seek position gesture #5831

Closed
3 tasks done
SameenAhnaf opened this issue Mar 15, 2021 · 6 comments
Closed
3 tasks done

Add MX Player seek position gesture #5831

SameenAhnaf opened this issue Mar 15, 2021 · 6 comments
Labels
feature request Issue is related to a feature in the app player Issues related to any player (main, popup and background)

Comments

@SameenAhnaf
Copy link
Collaborator

SameenAhnaf commented Mar 15, 2021

Checklist

Describe the feature you want

Swiping from left to right could be added to seek forward and vice versa. This gesture will immensely be helpful. Following navigation options in settings will also be appreciated.

IMG_20210314_161236

Please note this gesture should not be applicable if the swipe occurred from any edge. I found this problem in many players and Newpipe app should not have this.

Is your feature request related to a problem? Please describe it

Additional context

How will you/everyone benefit from this feature?

Most of the time, we hold the phone in one hand on the width while watching landscape videos. It's a little irritating to miss this feature as the other hand needs to be used just to seek position

@SameenAhnaf SameenAhnaf added the feature request Issue is related to a feature in the app label Mar 15, 2021
@MD77MD
Copy link

MD77MD commented Mar 20, 2021

this is a most

@avently
Copy link
Contributor

avently commented Mar 27, 2021

Oh, seriously? I implemented this feature some years ago. I thought you hate all my ideas, looks like I was wrong.

@SameenAhnaf
Copy link
Collaborator Author

@avently Not all of your ideas, but I think every feature should be optional. That's the core power of Newpipe! How? Let me explain.

For example, brightness, volume gesture, select playback options before opening the video and the list goes beyond. Many people like unified player, many people don't. I respect your requirement, opinion and idea. But you need to understand that every shoe doesn't fit every foot. The same goes for "Seek position" gesture and "Always switch to full screen" button.

You suggested a third party app instead of the option for always keeping "Full screen" button. That's good. But every Tom, Dick and Harry won't find or even think of these alternatives.

Many people prefer having all the options. Many people prefer having only selected ones. Everyone is different.

Sorry for all the misunderstanding. I should not have lost my mind and blame a person for no reason. Many users took your changes in positive way indeed. But you also need to understand that many users will also prefer existing behaviour. So, instead of ditching a feature, let's keep all of the features optional. For example, my grandmother faces a hard time adopting new features. We never know others' needs.

@avently
Copy link
Contributor

avently commented Mar 28, 2021

@SameenAhnaf I completely understand your love to have an option. The drawback is a code complexity that comes with multiple options.
If you look at NewPipe's code you will notice that in many places we have something like this:

If (userWantsToPlayAutomatically
&& isLandscape
&& !isTablet
&& !isInMultiWindow
) {
doSomething()
}

So based on one option we have other requirements that should match desirable behavior.
Let's say you added another option that should be taken into account too. The code now looks harder to read, to understand, and to not **** up.

If ((userWantsToPlayAutomatically
&& isLandscape
&& !isTablet
&& !isInMultiWindow)
|| (someotheroption
&& additionalCheck
|| (anotherOne && more)
)
) {
doSomething()
}

Imaging you have more options. And you have tons such places in code when you should act differently based on an option in the settings. Now imaging you see the code for the first time like any new developer. How much time you would spend in order to understand a logic behind such if's? That's can be performed fast in a brain, you should visualize all possible ways where the app flow could go.

So when you meet the requirement to find one universal solution you now know why devs want one solution instead of options.

@AudricV AudricV added the player Issues related to any player (main, popup and background) label Mar 28, 2021
@r7l
Copy link

r7l commented Apr 10, 2021

While i really love this app, i have a hard time to understand why it was decided that brightness would be such an important thing, to include it as a gesture during video play instead of a seek position gesture. You can easily pull down this Android menu and have a brightness slider from the OS if that's so important to anyone.

But skipping a minute in a video is the worst possible implementation in this player. You touch the video the wrong way, it drops either sound or brightness instead of showing the video scroll bar, since these gestures also act as "to 0" if you touch and move finger just 1 millimeter. It might also trigger the virtual android buttons and kick you out of the entire video, if you hit the bottom of the video where you would expect the progress bar to show up. That's just a general issue with Android virtual buttons and any other lower positioned in app option.

Maybe it's just me and my huge fingers. But even on my 10" tablet, i am not finding it easy to skip a couple minutes in order to skip through videos.

So i am +1 for seek position gesture!

@SameenAhnaf
Copy link
Collaborator Author

SameenAhnaf commented Jul 8, 2021

Closing in favor of #889.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issue is related to a feature in the app player Issues related to any player (main, popup and background)
Projects
None yet
Development

No branches or pull requests

5 participants