I'm trying to share my music on my website, but I can't seem to get wavs to play in the browser. They're correctly served with
audio/x-wav and I thought that was enough to get it to work. I tried disabling CSP and nosniff to no avail. This is what the response headers look like:
HTTP/1.1 200 OK Strict-Transport-Security: max-age=15768000; X-Content-Type-Options: nosniff Content-Security-Policy: default-src 'none'; img-src 'self'; style-src 'self'; frame-ancestors *:*; base-uri 'none'; script-src 'self' 'unsafe-inline'; form-action 'none' X-Frame-Options: ALLOWALL X-XSS-Protection: 0 Referrer-Policy: strict-origin-when-cross-origin Content-Type: audio/x-wav Accept-Ranges: bytes ETag: "1262751047" Last-Modified: Sat, 07 Sep 2019 23:56:44 GMT Content-Length: 2953260 Date: Sun, 08 Sep 2019 12:53:24 GMT Server: lighttpd/1.4.45
I don't know if firefox just doesn't support wavs as it says it does. But I can't figure out how to fix this.
How do I tell firefox to allow in-browser playback?