fake audio fails
parent
cc7960459a
commit
a03fe8f983
|
@ -982,13 +982,13 @@ GameLib.System.Input.prototype.onTouchStart = function(event) {
|
||||||
|
|
||||||
if (this.playAudio) {
|
if (this.playAudio) {
|
||||||
|
|
||||||
var audio = new Audio('http://live-api-v1.cybafelo.com/uploads/cybafelo/root/root/test/dummy.mp3');
|
// var audio = new Audio('http://live-api-v1.cybafelo.com/uploads/cybafelo/root/root/test/dummy.mp3');
|
||||||
|
//
|
||||||
try {
|
// try {
|
||||||
audio.play();
|
// audio.play();
|
||||||
} catch (error) {
|
// } catch (error) {
|
||||||
console.log('could not load dummy audio');
|
// console.log('could not load dummy audio');
|
||||||
}
|
// }
|
||||||
|
|
||||||
this.playAudio = false;
|
this.playAudio = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue