moinejf / abc2svg

project moved to https://chiselapp.com/user/moinejf/repository/abc2svg
GNU Lesser General Public License v3.0
48 stars 6 forks source link

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

Open joaocc opened 7 years ago

joaocc commented 7 years ago

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 ).

moinejf commented 7 years ago

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

joaocc commented 7 years ago

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.