toto88x Posted March 14, 2016 Share Posted March 14, 2016 Hi, Last year I built 3 games with Phaser 1.1. Today I tried to play these games and they work fine except for the background music that doesn't loop anymore. I tested this on Chrome for Mac. Here is the code: // Play a looping background music game.add.audio('music').play('', 0, 0.1, true); And I get this warning in the console: 'webkitAudioContext' is deprecated. Please use 'AudioContext' instead. The music just play once, and then stops. Do you know how to fix this problem easily without having to port my games to Phaser v2 ? Thanks! Link to comment Share on other sites More sharing options...
stupot Posted March 15, 2016 Share Posted March 15, 2016 Sounds like the browser has changed and now doesn't like it. Upgrading to a newer version of Phaser might not be as painful as you might think. You could look through the release notes to find the nearest highest version that has sound improvements, rather than going straight for the latest version. Link to comment Share on other sites More sharing options...
toto88x Posted March 16, 2016 Author Share Posted March 16, 2016 So there's no workaround? In that case, what is the oldest Phaser version without this issue? Link to comment Share on other sites More sharing options...
Recommended Posts