ion.sound icon indicating copy to clipboard operation
ion.sound copied to clipboard

Path problem in IE11

Open thomkup opened this issue 9 years ago • 2 comments

Hi

I have a problem in IE11. It looks like it can't load the file because it is looking at another path than the one I have defined.

I have defined a path for this specific alias because i need more files from different locations.

The code looks like this

ion.sound({
    sounds: [
        {
            alias: "test-speak",
            name: "speak_da",
            path: "http://jamvoices.dk.server1.eksakte-test.dk/wp-content/uploads/test/"
        },
    ],
    volume: 0.9,
    preload: true
});

jQuery( document ).ready(function() {
    jQuery("#player").click(function() {
        ion.sound.play("test-speak");
    });
});

When I check the developer console in IE11 it loads the file from a different path. It looks like the path is the URL of the current page, and not the one i defined: alt text

Here is a link to the site: http://bit.ly/1IYPNgt

thomkup avatar Aug 06 '15 11:08 thomkup

Hi, i will check this.

IonDen avatar Aug 06 '15 12:08 IonDen

I have the same problem in Chrome 51.0.2704.103 m, FireFox and Opera. JQuery 3.0.0, ionSound 3.0.7

sergeytolkachyov avatar Jul 21 '16 16:07 sergeytolkachyov