Rudrabhoj Bhati Posted January 23, 2016 Share Posted January 23, 2016 When we load the audio files like this: this.local_control.game.load.audio('harvest_festival', ['assets/audio/m4a/01 Town_-_Harvest_Festival.m4a', 'assets/audio/ogg/01 Town_-_Harvest_Festival.ogg']); Users have to download both the m4a files and the ogg file, or they will download only the m4a file when support is available, and only ogg when while m4a support is unavailable ogg support is positive? Or such checks would need manual addition? Link to comment Share on other sites More sharing options...
icp Posted January 23, 2016 Share Posted January 23, 2016 Users will download only the compatible files, everything else is automatic, you don't need to set anything manually. Link to comment Share on other sites More sharing options...
Rudrabhoj Bhati Posted January 23, 2016 Author Share Posted January 23, 2016 18 minutes ago, icp said: Users will download only the compatible files, everything else is automatic, you don't need to set anything manually. Even when the browser support both m4a and ogg, it will only download m4a to save the bandwidth ? Link to comment Share on other sites More sharing options...
icp Posted January 23, 2016 Share Posted January 23, 2016 Yes. Rudrabhoj Bhati 1 Link to comment Share on other sites More sharing options...
Recommended Posts