Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

playPause() – It works badly. #421

Closed
look997 opened this issue Mar 30, 2015 · 2 comments
Closed

playPause() – It works badly. #421

look997 opened this issue Mar 30, 2015 · 2 comments
Assignees
Labels

Comments

@look997
Copy link

look997 commented Mar 30, 2015

When use playPause e.g.:
To recording lasting 3 minutes.
0:00 - playPause (play)
2:52 - playPause (pause)
3:00 - end plaing
playPause (play) - again begin from 2:52! Not from 0:00.

The same works with every last pause.

@look997
Copy link
Author

look997 commented Mar 30, 2015

I add to my code this:
wavesurfer.on('finish', function () { wavesurfer.stop(); });
and work good.

You need to do something in the whole script.

@katspaugh katspaugh self-assigned this Mar 30, 2015
@katspaugh katspaugh added the bug label Mar 30, 2015
@katspaugh
Copy link
Owner

Thanks, @look997! The problem was we didn't set the finished state correctly. Now it should start playing from the beginning after it finishes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants