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

fix: ensure progress is sent before onEnd callback #3872

Merged

Conversation

freeboub
Copy link
Collaborator

@freeboub freeboub commented Jun 3, 2024

Summary

Add explicitly an event to notify player position before onEnd

Motivation

fix: #3866

Changes

  • Add explicitly onProgress just before sending onEnd
  • Ensure progress position is less than duration
  • remove unused notification on ios

Test plan

can be tested with sample by adding log in onProgress

freeboub and others added 18 commits May 5, 2024 21:06
…ideo

# Conflicts:
#	android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerViewManager.java
#	src/Video.tsx
…fix/avoidVideoResizingFlickering

# Conflicts:
#	.github/ISSUE_TEMPLATE/bug-report.yml
Copy link
Member

@KrzysztofMoch KrzysztofMoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, left one small comment

ios/Video/RCTVideo.swift Outdated Show resolved Hide resolved
@KrzysztofMoch KrzysztofMoch changed the title Fix/ensure progress is sent before on end fix: ensure progress is sent before onEnd callback Jun 3, 2024
@freeboub freeboub merged commit 7133c96 into TheWidlarzGroup:master Jun 3, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: inconsistancy between currentTime and playableDuration in onProgress callback
2 participants