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

How can I listen timeupdate event while recording? #128

Closed
baimurzin opened this issue Feb 22, 2017 · 2 comments
Closed

How can I listen timeupdate event while recording? #128

baimurzin opened this issue Feb 22, 2017 · 2 comments

Comments

@baimurzin
Copy link

Is it possible to listen timeupdate event and get current time while recording?

@thijstriemstra
Copy link
Member

Sounds like a reasonable enhancement that I'll add.

@thijstriemstra
Copy link
Member

@baimurzin I added a progressRecord event that you can use, e.g.:

player.on('progressRecord', function()
{
    console.log('current time:', player.recorder.getDuration());
});

Let me know how it goes!

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

No branches or pull requests

2 participants