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

onEnded does not trigger on iOS devices when streaming audio #148

Open
faizan47 opened this issue Jun 4, 2022 · 0 comments
Open

onEnded does not trigger on iOS devices when streaming audio #148

faizan47 opened this issue Jun 4, 2022 · 0 comments

Comments

@faizan47
Copy link

faizan47 commented Jun 4, 2022

A simple example
<ReactAudioPlayer src="" controls crossOrigin={'anonymous'} onEnded={() => { window.alert('Audio has ended'); }} />

Result:
Desktop:
Works on Firefox/Chromium
Mobile:
Works on Android devices but not on iOS devices.

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