Last modified: 2014-06-11 21:32:46 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 T68409, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66409 - Embedding videos from commons using iframe throws JS errors
Embedding videos from commons using iframe throws JS errors
Status: RESOLVED DUPLICATE of bug 66143
Product: MediaWiki extensions
Classification: Unclassified
TimedMediaHandler (Other open bugs)
master
All All
: High critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-10 12:05 UTC by Kai Nissen
Modified: 2014-06-11 21:32 UTC (History)
7 users (show)

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


Attachments

Description Kai Nissen 2014-06-10 12:05:45 UTC
When I try to embed videos from commons using the html source generated on the media page the browser's JS engine is generating error messages:

Type error: mw.loader.go is not a function
http://bits.wikimedia.org/commons.wikimedia.org/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector&*

Type error: $.client is undefined
http://bits.wikimedia.org/commons.wikimedia.org/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector&*
Comment 1 Andre Klapper 2014-06-11 10:22:19 UTC
Thanks for reporting this! Confirming.
Wild guess: Related to jQuery (bug 66359, bug 65428)?

Taking one example link offered by "Use this file > HTML/BB code" (and appending &debug=true):
https://commons.wikimedia.org/wiki/File%3ANASA%27s_OPALS_Beams_Video_from_Space.webm?embedplayer=yes&debug=true

"Type error: mw.loader.go is not a function" comes from:
	<script>if(window.mw){
	mw.loader.go();
	}</script>

"Type error: $.client is undefined" comes from:
	/**
	* Add the mwEmbed jQuery loader wrapper
	*/
	[...]
	var skinName = '',
	profile = $.client.profile();
Comment 2 Bawolff (Brian Wolff) 2014-06-11 21:32:46 UTC

*** This bug has been marked as a duplicate of bug 66143 ***

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


Navigation
Links