react-audio-player
react-audio-player copied to clipboard
onEnded does not trigger on iOS devices when streaming audio
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.