Johnny Tal Posted May 31, 2021 Share Posted May 31, 2021 Hi, I am using Phaser 2.9.2, The sound in my game works fine on all platforms and all browsers but safari... I tried to debug using "Inspect" program that lets you open a console for safari on windows - there are no sound-related alerts or errors in the console. I am using mp3 files, 128kb, which suppose to run just fine on all modern browsers... I'll be very thankful for any ideas... Link to comment Share on other sites More sharing options...
rich Posted June 1, 2021 Share Posted June 1, 2021 Safari doesn't support mp3 files. Use m4a for Safari. Link to comment Share on other sites More sharing options...
Johnny Tal Posted June 14, 2021 Author Share Posted June 14, 2021 Hey Rich thanks for the reply, I checked again and my game is using mp3 assets from the server which are also being used by other games I run. With most other games there are no problems and the audio is working just fine on safari. There are just couple of games where I can't get the sound to work, even though it's the same assets, and the same basic code to play the audio... The audio in these two games works on chrome and Firefox, and only fails on safari, with no error or warning message... Any ideas?... Link to comment Share on other sites More sharing options...
Johnny Tal Posted June 24, 2021 Author Share Posted June 24, 2021 Solved! I updated Phaser from version 2.9.2 to version 2.18.0, and now I have sounds on all platforms and devices :) Link to comment Share on other sites More sharing options...
Recommended Posts