-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
Object no longer usable / sound is not a function #96
Comments
If you look at the source code when you import -import ion from 'ion-sound'
+import 'ion-sound'
-ion.sound({
+window.ion.sound({
sounds: [
{
name: 'alarm_bell',
volume: 1.0,
loop: true
}
// {
// name: 'notify_sound',
// }
],
volume: 0.5,
path: '/sound/',
preload: true
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Browser is logging
ion_sound__WEBPACK_IMPORTED_MODULE_7___default.a.sound is not a function
:Any idea why this is ?
The text was updated successfully, but these errors were encountered: