Closed d668 closed 9 years ago
Sure - Looking into it right now
Maybe I am on the wrong path; according to MSDN, there is configuration for MIME types.
Don't make it js
, otherwise CloudFlare will possibly corrupt the files ;-)
I guess something that suggests it could be a binary file like zip
or lzh
could work for most servers. It is possibly important not to choose an image format because some providers will try to scale them for mobile etc....
Well, so the original problem I ran into was finding a javascript library that could do the OGG Vorbis encoding. I found this library: https://github.com/itsjoesullivan/libvorbis.js/tree/master for compiling native libraries into javascript (with emscripten), but it's been giving me trouble on my system. I can't remember where exactly I found the minified, optimized version of libvorbis.module.min.js, but I found it somewhere, found out that it worked, and integrated it into the project.
To fix this, I just need a compiled version of libvorbis https://github.com/itsjoesullivan/libvorbis.js/tree/master or something equivalent, that's not optimized - I just found https://github.com/Garciat/libvorbis.js, so I'm checking into it now
As a sidenote- the mem file suggess that this copy of libvorbis is optimized, meaning it'll perform better
i just renamed the .mem file to .txt and it worked fine
Perfect!
IIS (and others) don't allow mem files, can you change format?