Last modified: 2014-11-20 00:57:33 UTC
To reproduce, in either Firefox 30 or Chromium 34: 1. Go to <https://commons.wikimedia.org/wiki/File:Example.ogg?debug=true>. 2. Open the console (Ctrl-Shift-K in Firefox, Ctrl-Shift-J in Chromium). 3. Click the play button. 4. Wait for the recording to finish playing. "vid is undefined" appears in Firefox. "Cannot read property 'readyState' of undefined" appears in Chromium. The error occurs in the function mw.EmbedPlayerNative.setCurrentTime on line 473 (marked below): var vid = this.getPlayerElement(); // [...] // Check if player is ready for seek: if( vid.readyState < 1 ){ // LINE 473 // Try to seek for 4 seconds: // [...]
There are plans to replace this part of TimedMediaHandler with an upstream version of the "Kaltura" library (basically stuff in the MwEmbedModules/EmbedPlayer directory) sometime in the coming months (exact timeline unclear). Unless this is causing problems with playback beyond console noise, I would like to wait until after the upgrade, and re-asses this bug then