Forum:Lower the priority of Quicktime for playing audio files?

Hello, I'm a contributor for the Mass Effect Wiki. Recently there's been a push to include audio from the game on the wiki embedded in some articles (Namely, Codex entries). I've been working with a couple of different users to see if the files play correctly, and in at least one instance, Quicktime has caused Firefox to become unresponsive when the user presses the big "Play" button, immediately after suggesting that the user download XiphQT in order to play .ogg files. This is extremely frustrating. Is there any way that we can lower the priority of Quicktime among the choices for the player?

Firefox seems to be the only browser that gets affected by this (I tested FF, Chrome, and IE). Ideally, I'd rather see the Java player as the first choice for players, then Native Browser Support, and THEN Quicktime. Is there any way for us as editors to effect this change, or is this something that we're stuck with? -- Dammej ( talk ) 23:44, August 29, 2010 (UTC)
 * Quicktime is pretty bad, unfortunately you're not going to be able to do much about that, as it's a per-system setting (file associations), not really a wiki setting. Personally, you can set the option in Firefox under Tools -> Options -> Applications, just unset Quicktime from handling OGG. -- 23:47, August 29, 2010 (UTC)
 * Not so. If you click on File:En_us_narrator_codex_Tuchanka.ogg, then press the "play" button for the file, then click on "more", you'll see that there are several choices for how Wikia should play the given file. My desire is for Native Browser support and the Java player to be bumped up above Quicktime in that list. Wikipedia, for example, does not have Quicktime as the top priority, regardless of any settings in the browser. -- Dammej ( talk ) 23:58, August 29, 2010 (UTC)
 * Ah, I have Quicktime installed and it uses Java without any tweaking on Firefox. It seems that according to the source code it is settable, you will have to use Special:Contact.  Good luck. -- 00:05, August 30, 2010 (UTC)
 * Appreciate the help. I was hopeful for a solution that didn't have to involve the staff. Oh well. As you might imagine, this has been a very bewildering experience. The mere fact that it prefers java on your machine but not on mine is enough to cause hair-pulling. Hopefully I can find my answers with the staff. Thanks again. -- Dammej ( talk ) 00:17, August 30, 2010 (UTC)
 * I think I may have found a way, you should be able to set this yourself with the following JS in MediaWiki:Common.js:

$(function { wgOggPlayer.players=['videoElement', 'cortado', 'vlc-mozilla', 'vlc-activex', 'totem', 'kmplayer', 'kaffeine', 'mplayerplug-in', 'quicktime-mozilla', 'quicktime-activex', 'oggPlugin']); }); This moves Quicktime to the end of the list. Haven't tested it too thoroughly though. -- 00:21, August 30, 2010 (UTC)
 * Apologies for the late response. I saw the relevant section of the source code immediately before I had to step out, but wasn't sure if common.js would be able to override it. I'll definitely give that a shot, though. Thanks! -- Dammej ( talk ) 02:17, August 30, 2010 (UTC)
 * I'm not able to edit MediaWiki:Common.js (not an admin), but I wasn't able to get it to work in monaco.js with any success (and I know that custom js is enabled for users). Would this affect the efficacy of this patch in any way? I'm thinking 'no' but I'm pretty ignorant about it. You said that your patch moved it to the end for you-- was this on a different wiki, or am I misunderstanding? -- Dammej ( talk ) 02:56, August 30, 2010 (UTC)
 * Some more information: I just checked, and it looks like the MEwiki is using an old version of the OggHandler extension Special:Version. Checking the source from that revision, it looks like videoElement was near dead-last in priority. So that at least explains why it's so different on wikipedia. I've used Special:Contact to request that the extension be updated. Hopefully that will solve our issues. :) -- Dammej ( talk ) 04:03, August 30, 2010 (UTC)

Well this is odd, on The Sims Wiki (using FF) the list goes like this: At least it does for me. Duskey ( talk ) 11:57, August 30, 2010 (UTC)
 * Cortado (Java)
 * QuickTime
 * Native browser support
 * No player