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

Video pauses and plays after muting #38

Open
ch05enOne opened this issue Jan 15, 2022 · 3 comments
Open

Video pauses and plays after muting #38

ch05enOne opened this issue Jan 15, 2022 · 3 comments

Comments

@ch05enOne
Copy link

Video goes back to beginning of playback after muting. It also jerks the video in the beginning.

@ch05enOne
Copy link
Author

I believe this is happening when a state of another variable changes. Not directly because of muting.

@mtfum
Copy link

mtfum commented Jun 10, 2022

[FYI]

I faced the same problem to go back to the beginning when resuming the video.
But, what I found the solution is delivering a state value of Binding<CMTime> instead of a default value .constant(.zero).

@TheeKia
Copy link

TheeKia commented Dec 18, 2023

[FYI]

I faced the same problem to go back to the beginning when resuming the video. But, what I found the solution is delivering a state value of Binding<CMTime> instead of a default value .constant(.zero).

This worked for me as well. But does anyone know the reasoning for this?

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

3 participants