To reproduce, in either Firefox 30 or Chromium 34:
- Go to https://commons.wikimedia.org/wiki/File:Example.ogg?debug=true.
- Open the console (Ctrl-Shift-K in Firefox, Ctrl-Shift-J in Chromium).
- Click the play button.
- 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:
// [...]
Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=56353