Board Thread:General Discussion/@comment-1820055-20150329192121

Hi all, I'm posting to ask for help, or even warn you about an impending predicament about audio players.

Right now it works just fine, when you click on it, audio plays on the spot.

I've been asked in one wiki to try to implement this, by importing sm2.js. However when you click on the Play button, it opens in a new tab. See example on this article, down at the Quotes section.

I've investigated this problem and found out that it's because of wikia's new CDN, vignette. When I try to manually change the file links onto old-style CDN such as img1.wikia.nocookie.net, it works as intended. It's probably that the specific wiki in question is a new one, that's why they got vignette early, when doing  links (the code we use on Template:Audio).

I think older wikis like elderscrolls, and my main wikis will be affected soon and will get vignette and get the same results, opens audio in a new tab.

I'm asking for help from experienced coders if we can do anything about this before vignette gets implemented to us. Alternatively, if anyone knows how to revert back to the old CDN, img1.wikia.nocookie.net and not use vignette, that would be great! 