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

Initialization of ion.sound fails in IE11 #81

Open
soerendalby opened this issue Dec 30, 2016 · 6 comments
Open

Initialization of ion.sound fails in IE11 #81

soerendalby opened this issue Dec 30, 2016 · 6 comments
Assignees

Comments

@soerendalby
Copy link

My javascript fails in IE11 when I use this initializatin:

ion.sound({ sounds: [ { name: "bell_ring" } ], path: "/sounds/", preload: true, volume: 2.0 });
The console shows nothing.

It works in Chrome, Firefox and IOS Safari.

You can see the simple page here:
http://dalbydata.dk/meditation

@IonDen
Copy link
Owner

IonDen commented Dec 30, 2016

Hello, try to set volume to 1, maybe IE does not support volume more than 100%

@IonDen IonDen self-assigned this Dec 30, 2016
@IonDen
Copy link
Owner

IonDen commented Dec 30, 2016

image

@IonDen
Copy link
Owner

IonDen commented Dec 30, 2016

There is an error, so yes, that should be bad volume value.

@IonDen
Copy link
Owner

IonDen commented Dec 30, 2016

In future update i will add a check in to plugin to avoid this.

@soerendalby
Copy link
Author

Hi, now it works, great. I did not get anything in my console though. It also failed on Androids default browser and now it also work there. Perfect

Thanks and a happy new year.

@IonDen IonDen reopened this Dec 30, 2016
@IonDen
Copy link
Owner

IonDen commented Dec 30, 2016

I will leave it open, because problem can be avoided. I will add a fix in next release. Happy new year!

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