abc2svg icon indicating copy to clipboard operation
abc2svg copied to clipboard

play-1.js: raw.githubusercontent.com no longer works for ogg-js files

Open joaocc opened this issue 8 years ago • 2 comments

When stf=='js', the current default URL (https://raw.githubusercontent.com/gleitz/midi-js-soundfonts/gh-pages/FluidR3_GM) fails, with an error saying that it doesn't allow execution of JS for something returned as mime text. The solution we found was to replace the server with https://rawgit.com/gleitz/midi-js-soundfonts/gh-pages/FluidR3_GM which seems to return a more suitable mime type.

More info here ( https://github.com/rgrove/rawgit/blob/master/FAQ.md ).

joaocc avatar Sep 01 '17 13:09 joaocc

I changed the URL of the sound font by the commit b0aac5d3cad89818a0ebb7cac5f171feb0fa3b33. Does this URL work for you?

moinejf avatar Sep 01 '17 16:09 moinejf

We tested yesterday but used "//" instead of "http://". If you are having problems, can you pls test with either "//" or "https://"? Also, it wouldn't hurt to remove the trailing "/", to keep things equal.

joaocc avatar Sep 01 '17 18:09 joaocc