Thread:Dragonjet/@comment-26154973-20150905172551/@comment-26154973-20150906060552

Can you change to

var AudioLink = $(this).attr("href"), i = AudioLink.indexOf(".ogg"); if (i != -1) { AudioLink = AudioLink.substr(0, i + 4); $(this).attr("href", AudioLink); }

This is for mp3 files in Template:ExternalAudio.