-
Notifications
You must be signed in to change notification settings - Fork 58
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
dragging works fine but just tapping progress bar does not move video position #23
Comments
onSeek should be called when you tap the bar. After that you need to take the given duration and move the video position yourself. |
Ah, I thought the tapping behavior does not work in every environment but it does not work in specific cases. To make sure,
|
It sounds like this may be related to which widget is getting the tap event. I'm not exactly sure how to fix that. If you add a regular button does it receive a tap event? |
Other tap gesture does work. |
You have a GestureDetecter in your example. It may be stealing the tap event from the progress bar. Try removing it and seeing if the problem persists. |
Oh, the |
I see. I didn't mean to add another gesture recognizer. I meant to add a normal button and see if that received the tap event. |
Is it different between gestureDetector and the normal button? I really didn't know that.. Let me try it. |
I added two types of buttons. |
@suragch When
But with Is this the flutter internal bug? or expected behavior? |
Sorry for the delay in replying. I wonder if the |
I investigated and studied gestures since this issue came out, I might think the |
Were you able to find a solution to this problem? I got involved in this problem like you, maybe you can share the solution with me |
this issue seems to be solved with this commit but pull request is not merged! |
@AhmadFalahian I solved and submitted PR but as @HosseinAsadi mentioned it did not merge. I understand the author does not accept it because somewhere it could be the breaking change and this issue was reported from only me. Use the following forked version until the author accepts it. audio_video_progress_bar:
git:
url: https://github.com/Hwan-seok/audio_video_progress_bar
ref: 26a48f9b7f76e821c2a7250cdb78f1aa2fc3995b |
Is this a bug? or didn't implemented?
The text was updated successfully, but these errors were encountered: