We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug If pause() is called while the next track is loading, the track still plays after it has loaded.
pause()
Expected behavior The track would not play once it has loaded. Instead it would be paused at the beginning.
Desktop (please complete the following information):
Additional context I believe this is because of the _playWhenReady flag. If I add the following in AVPlayerWrapper, the issue is resolved.
_playWhenReady
AVPlayerWrapper
func pause() { _playWhenReady = false avPlayer.pause() }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
If
pause()
is called while the next track is loading, the track still plays after it has loaded.Expected behavior
The track would not play once it has loaded. Instead it would be paused at the beginning.
Desktop (please complete the following information):
Additional context
I believe this is because of the
_playWhenReady
flag. If I add the following inAVPlayerWrapper
, the issue is resolved.The text was updated successfully, but these errors were encountered: