ionic-audio icon indicating copy to clipboard operation
ionic-audio copied to clipboard

Reset isFinished flags to false to ensure onFinish emit fires more than once

Open yoojene opened this issue 8 years ago • 0 comments

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.

yoojene avatar Jul 24 '17 07:07 yoojene