https://bugzilla.wikimedia.org/show_bug.cgi?id=67403
Bug ID: 67403
Summary: "vid is undefined" or "Cannot read property
'readyState' of undefined" after playing an audio file
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: TimedMediaHandler
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
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:
// [...]
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l