ionic-audio
ionic-audio copied to clipboard
Reset isFinished flags to false to ensure onFinish emit fires more than once
Hi @arielfaur, I found that when a track was played to completion a second time after the component loaded, that the onFinish emit event never fired.
This PR resets the_isFinished and _audioTrack.isFinished to false allowed the event to execute each time without a component reload.