-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[BUG]: (Android) Seeking backward after video ends resumes playback even though player was paused #4146
Comments
Thank you for your issue report. Please note that the following information is missing or incomplete:
Please update your issue with this information to help us address it more effectively.
There is a newer version of the library available. You are using version 6.4.5, while the latest stable version is 6.5.0. Please update to the latest version and check if the issue still exists.
|
Thank you for your issue report. Please note that the following information is missing or incomplete:
Please update your issue with this information to help us address it more effectively.
|
Thank you for your bug report. We will review it and get back to you if we need more information. |
I traced as much as I could in the android code, recorded log files, and scanned through them but I could not find why after seeking, the player resumes. For now, after seek, if the state of my player is paused, I run playerRef.current.pause() right after playerRef.current.seek() and it does what I need it to do. |
I was able to reproduce it in the sample (it uses the prop instead of playerRef.current.pause() but it should be the same). I am not sure of the expected events when you pause after onEnd. |
I ran |
I tested with the sample on ios, I don't reproduce the issue you describe... I have the same behavior than on android. |
Version
6.5.0
What platforms are you having the problem on?
Android
System Version
14
On what device are you experiencing the issue?
Real device, Simulator
Architecture
Old architecture
What happened?
See title.
Reproduction Link
repository link
Reproduction
Steps to reproduce this bug are:
After a video (using
asset file
mp4) ends in the basic example if you comment out theonEnd
code, you'll notice these logs:Then when you drag the progress bar back (because it's hard to see, I enable the notification controls and pull it back to about halfway in the video), the video unpauses and you'll notice these logs:
You will observe this visually:
https://github.com/user-attachments/assets/f7758612-bd80-43c0-838f-97e4fec50f50
The text was updated successfully, but these errors were encountered: