Skip to content
New issue

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

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

Already on GitHub? # to your account

Change playbackRate while playing #77

Open
camiloperezv opened this issue Feb 12, 2019 · 0 comments
Open

Change playbackRate while playing #77

camiloperezv opened this issue Feb 12, 2019 · 0 comments

Comments

@camiloperezv
Copy link

I want to change the playback rate, but i can not call this.setState of a playback value because this will call render method and start the sound again.

As you can se https://jsbin.com/UGIxoJis/1/edit?html,output you can modify the playbackRate while a media is being played.

How can I access to the current sound element to modify his playbackRate?

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

No branches or pull requests

1 participant