Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBest way to "Stop" playback? #14
Open
Labels
Comments
|
This is the best way to stop. A stop method that does this would be useful. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Intention is to stop playback and reset the playhead back to the beginning.
I started off dispatching two actions:
This worked the first time I called it but failed subsequent times. See my other issue about this: #13
What ended up working great:
dispatch(actions.pause(id, 0));Is this the best way to "Stop"?
Suggestion: Perhaps a built in "Stop" component would be nice.