Jump to content

query string on audio file url breaks audio playback


d3zza
 Share

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.

 

e.g. 

 

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?

 

Thanks,

d

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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