Last modified: 2014-11-20 00:57:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69403, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67403 - "vid is undefined" or "Cannot read property 'readyState' of undefined" after playing an audio file
"vid is undefined" or "Cannot read property 'readyState' of undefined" after ...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
TimedMediaHandler (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-02 01:18 UTC by Kevin Israel (PleaseStand)
Modified: 2014-11-20 00:57 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kevin Israel (PleaseStand) 2014-07-02 01:18:11 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:
	// [...]
Comment 1 Bawolff (Brian Wolff) 2014-07-08 06:10:37 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links