Board Thread:Wiki discussions and announcements/@comment-1117661-20160126100943

Hey all (and mostly admins ;))

Over a month ago the SoundManager2 script was axed. Polish LoL Wiki also used this script for the same purpose (I don't know of any other wikis).

You dealt with it by going back to the clunky, built-in ogg player... and I rewrote the script :P

I posted it on Dev Wiki so others can benefit too. It doesn't support IE/Edge and Safari which SM2 supposedly did (dunno about Safari but IE and Edge fail to play oggs on their site) through Flash plugin (most likely why the script was axed in the first place). But that's the problem with the default player too – both use just a HTML5 tag.

All that needs to be done is to add this to MediaWiki:ImportJS: dev:OggPlayer.js I updated the template already.

The script also has the added benefit of initializing all ogg audio/video players (without preloading) removing the need to click that hideous button for the player to appear.

Script in action 