I believe the underscore is to let anki know that it’s a media file that should be kept even if it’s not referenced on any card.
Since you’ve got it working with my files, maybe you can start from there and see if you can figure out what’s wrong?
When I’ve got two things that to me seem like they should function identically, but for some unfathomable reason only one of them does what I expect, I sometimes start from the one that works and try to transform it into the other.
So maybe a starting step could be to modify my files and see if you can get that to work… then maybe rename them? If that works, or you can figure out why it doesn’t, you should be able to continue.
Also: one trick that can get you around the caching issue I mentioned in the last post is to add a useless parameter to the file name when linking to your javascripts:
src="_myfile.js?somepar=whatever"
and then when you’ve made an update you can change it:
src="_myfile.js?somepar=whatever2"
Even though it’s the same file, anki will think it’s completely new and reload it rather than fetch it from the cache.
This doesn’t work in the mobile version though, so when you’re ready to use it in the app, you’ll need a fresh filename I think.





