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

setSpeed not working in IE11 and Safari11 #117

Open
alextrastero opened this issue Feb 4, 2019 · 0 comments
Open

setSpeed not working in IE11 and Safari11 #117

alextrastero opened this issue Feb 4, 2019 · 0 comments

Comments

@alextrastero
Copy link

First of all thanks for the work on this library, it's 💯

We got an issue with setSpeed where if we set it before the play() it will not work in Safari and IE11, if we edit dist/buzz.js and use defaultPlaybackRate instead of playbackRate it does though.

// We've changed:
buzzSound.setSpeed(playbackRate);

// to:
buzzSound.sound.playbackRate = playbackRate; // makes it work in Chrome & Firefox
buzzSound.sound.defaultPlaybackRate = playbackRate; // makes it work in Safari and IE11

Anyone else run into this issue?

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

No branches or pull requests

1 participant