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
Double tap to forward/seek in the video #3357
Comments
hello, I have an approach to solve this problem what we can do is create an element both sides of the player and add DoubleClick event to forward/seek video even we can create a loop for ex if double click skip 10 sec ,triple click 20 sec and so on. |
That's one way to solve it! However, I'm a bit unsure whether the approach would work without buttons. |
You could listen for the double-click events on parts of the video frame by positioning transparent elements there. I've seen UIs where on double-tap on the right, a "fast-forward" icon appears with some text showing how far it is skipping. That could be an element which is always present, receives the double-click/tap events, and shows itself briefly when activated before becoming transparent again. |
For anyone who wants to work on this .
I think this will add this functionality but it will also interfere with full-screen on double click feature . Thus will almost make the full screen feature useless. |
Noone seems to be doing this, so I'll add a pr. |
Closes #3357 Closes #3303 Thanks to @surajkumar-sk, his #3373 has been the inspiration for this.
…t#5943) Closes shaka-project#3357 Closes shaka-project#3303 Thanks to @surajkumar-sk, his shaka-project#3373 has been the inspiration for this.
Have you read the FAQ and checked for duplicate open issues?
Yes
Is your feature request related to a problem? Please describe.
On Android on chromium, the native player supports seeking using double taps on the edge of the screen.
Describe the solution you'd like
An implementation is shaka-player UI.
Describe alternatives you've considered
An own implementation, but I'm unsure where to start. I feel this should be included in shaka-player considering the native player already supports it.
Additional context
I've tested on the demo page as well.
The text was updated successfully, but these errors were encountered: