Skip to content

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

Open
yoojene wants to merge 1 commit intoarielfaur:3.0from
yoojene:fix/onFinishEvent
Open

Reset isFinished flags to false to ensure onFinish emit fires more than once#138
yoojene wants to merge 1 commit intoarielfaur:3.0from
yoojene:fix/onFinishEvent

Conversation

@yoojene
Copy link

@yoojene yoojene commented Jul 24, 2017

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.

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

Successfully merging this pull request may close these issues.

1 participant