Jump to content

query string on audio file url breaks audio playback


Recommended Posts

I have been using a query parameter on my asset loads so I can force non cached versions if they need to be updated.




game.load.json('levels', 'assets/levels.json?v=1');


BUT this approach seems to break audio eg:


game.load.audio('sfx', [ 'assets/sfx.ogg?v=1','assets/sfx.mp3?v=1']);


I'm guess it messes up how the extensions get interpreted.


Is it a bug?





Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...