IonDen / ion.sound

JavaScript plugin for playing sounds and music in browsers

Home Page:http://ionden.com/a/plugins/ion.sound/en.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IndexSizeError in IE11

mbratukha opened this issue · comments

The problem accures just before any content is rendered on the page.

image

The problem was caught in ion.sound ver. 3.0.0 and in the last ver. (3.0.6) it's stil here.

Any ideas?

Hi, please describe your environment and maybe show example page for me to test. In my tests on IE9-Edge there was no such an error.

Hi, the problem was in value of volume variable.
As you can see from screenshot, in my case it was set to 1.1. I don't know whether it possible or not, but any way it was so. When I set it to 1 everything starts to work fine in IE11.

This problem still exists in IE 11. Setting the volume to 2.0 when loading a sound causes the error:

ion.sound({ sounds: [ { name: "water_droplet" } ], volume: 2.0, path: "https://s3.amazonaws.com/xxxxxx/sounds/", preload: true });

@tparkin, yes. IE is supporting max volume of 1.0. I'm planning to add fix to round down the volume in that case.