If i integrate in my file some audio i can use the file only on Firefox, on Chrome it give these errors:
XMLHttpRequest cannot load file:///C:/Limejs/prova/sound/start.wav. Cross origin requests are only supported for HTTP. prova.html:1
XHR error loading file: sound/start.wav audio.js:96
Uncaught NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'file:///C:/Limejs/prova/sound/start.wav'.
I'm using this code:
goog.require('lime.audio.Audio');
var start = new lime.audio.Audio('sound/start.wav');
start.play();