Cool! Works for me in Firefox 2. Doesn't work for me in IE5, but I wouldn't expect it to [ 1999 called and it wants its browser back, right? ;-) ]
From the narky HTML validation department:
line 88 column 95 - Warning: <img> element not empty or not closed line 88 column 588 - Warning: <img> element not empty or not closed line 88 column 95 - Warning: <img> lacks "alt" attribute i.e.: - <img src="http://upload.wikimedia.org/wikipedia/test/thumb/8/80/Test_Bungy.ogg/mid-Test_Bungy.ogg.jpg" width="384" height="288"> + <img src="http://upload.wikimedia.org/wikipedia/test/thumb/8/80/Test_Bungy.ogg/mid-Test_Bungy.ogg.jpg" width="384" height="288" alt="Test Bungy.ogg" />
... and from the whiny JavaScript department: Warning: assignment to undeclared variable elt - Line: 27 Source File: http://test.wikipedia.org/w/extensions/OggHandler/OggPlayer.js?1 Warning: assignment to undeclared variable div2 - Line: 290 Source File: http://test.wikipedia.org/w/extensions/OggHandler/OggPlayer.js?1 (i.e. probably stick a 'var' in front of those 2 JS lines).
Should clicking on the speaker icon on the bottom-right of the Java version cause it to mute or change the volume? It doesn't seem to for me, but maybe I have an old version of Java installed. Then again, maybe it just means "this video has sound".
Also I tried uploading a test Motion JPEG AVI from a Canon camera to test.wikipedia.org, but got the error: '".avi" is an unwanted file type - List of allowed file types: png, gif, jpg, jpeg, xcf, pdf, mid, sxw, sxi, sxc, sxd, ogg, svg, djvu', which is kind of expected (although as an aside it could maybe be nice if we gave that error before rather than after uploading) ... So I tried to cheat and I just renamed the file to have a .ogg extension, and of course that uploaded but wouldn't play (said: "(Invalid ogg file: Invalid magic number)", I think). So then I changed the format in Avidemux to "OGM", saved that, but Avidemux could not convert the audio ... so I uploaded it anyway (GSpot says the container is "File Type: Ogg Media; Mime Type: application/x-ogg"), and now it just says "(Invalid ogg file: )" : http://test.wikipedia.org/wiki/Image:MVI_4015_ski-test.ogg . So my questions are: * Can anyone recommend something to convert AVIs to OGG that will keep the player happy? * If that is a valid file OGG file, but the audio isn't valid, should it play the video but ignore the audio?
-- All the best, Nick.
-----Original Message----- From: wikitech-l-bounces@lists.wikimedia.org [mailto:wikitech-l-bounces@lists.wikimedia.org]On Behalf Of Tim Starling Sent: Thursday, 6 September 2007 9:16 AM To: wikitech-l@lists.wikimedia.org Subject: [Wikitech-l] Video/audio player extension now on test.wikipedia.org
The video/audio player extension that I've been writing over the last couple of weeks is now live on test.wikipedia.org. You can see an example here:
http://test.wikipedia.org/wiki/Image:Test_Bungy.ogg
Documentation is here: http://www.mediawiki.org/wiki/Extension:OggHandler
I want to put this live on all Wikimedia wikis in the very near future.
-- Tim Starling
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l