ion.sound
ion.sound copied to clipboard
Path problem in IE11
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:
Here is a link to the site: http://bit.ly/1IYPNgt
Hi, i will check this.
I have the same problem in Chrome 51.0.2704.103 m, FireFox and Opera. JQuery 3.0.0, ionSound 3.0.7