futo-org / grayjay-android

Read-only mirror of Grayjay repo for issue tracking
https://gitlab.futo.org/videostreaming/grayjay
Other
722 stars 44 forks source link

Double-tap center of screen to pause/play #1377

Open Gotrees opened 3 days ago

Gotrees commented 3 days ago

Use Cases

Sometimes it is hard to pause right on the spot you want, for example when things quickly flash on the screen. Currently, you have to first tap, briefly wait for the pause button to reveal itself, then press the pause button. If you tap too soon, Grayjay interprets it as a double-tap to skip forward or back.

Conversely, if you are quickly tapping the play/pause button to try to pause on a specific part, eventually the pause button fades away and you end up accidentally skipping forward/back, which can be very annoying if you're trying to queue up a very specific moment.

https://github.com/user-attachments/assets/6dc091da-4fc0-4e84-a933-3e7d174a381d

Proposal

Allow users to double-tap the center of the screen to play/pause the video, similar to how users can currently double-tap the sides of the screen to skip forward/back. This feature is currently available in NewPipe (see video).

https://github.com/user-attachments/assets/fd338e3f-e913-40d4-a833-55d2cf241c12

References

No response

Gotrees commented 2 days ago

Is this actually a dupe? I can't find a similar request anywhere.

nphalem commented 2 days ago

It appears to be duplicate of #280.

Gotrees commented 2 days ago

Ah ok. What I'm requesting is similar but not quite the same. I'm asking for a new gesture control, as exists in some other apps like Newpipe and VLC, where you just have to double tap near the center of the video to play/pause (as in the video I included above). No need to hit right on the pause button.

Attached is another video showing an example from VLC in case that's clearer.

https://github.com/user-attachments/assets/143c1525-8cdf-4189-886c-fa998f848d7d