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

playAfterSeek in VideoPlayer not working #5

Open
mauro1855 opened this issue Nov 14, 2022 · 0 comments
Open

playAfterSeek in VideoPlayer not working #5

mauro1855 opened this issue Nov 14, 2022 · 0 comments

Comments

@mauro1855
Copy link

Hi SDK team,

The VideoPlayer plugin currently has some logic on seek() to resume video playback if it was already playing when seek() was called. You can find the logic here and then here.

Unfortunately this is currently not working - the playback doesn't resume. I checked with @bjornvanspengen and @tomvdbroek and we believe the issue lies in the fact that the play() is called before the video player is ready to play after the seek.

I think the player needs to wait for the canplay player event before it can play. I will be submitting a PR with this solution soon.

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

No branches or pull requests

1 participant