So, I tried to deploy a LibGDX game to my web server, and the audio doesn’t work. (LibGDX == Java code compiled to JS with GWT and the audio code is from LibGDX, so I have no idea what it’s doing but it should work).
I’d ask on the LibGDX forums (in fact I have) but the thing is, if I test my game in a local web server (using “python -m http.server 8000”), the sound works fine. If I take the same files and copy them to my DigitalOcean server, the game runs fine, but none of the sounds play.
Is there some DO/Apache/somethingelse setting I need to change to get audio to work?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.