Page MenuHomePhabricator

TypeError: embedPlayer.controlBuilder is undefined / self is undefined / TypeError: embedPlayer is undefined / TypeError: undefined is not an object (evaluating 'embedPlayer.controlBuilder.isOverlayControls')
Closed, DeclinedPublic

Description

Logstash URL: https://logstash.wikimedia.org/goto/75b33be57379843315821cba148309f9

t addPlayerBindings/< <url>
at dispatch <url>
at add/elemData.handle <url>
at trigger <url>
at trigger/< <url>
at each <url>
at each <url>
at trigger <url>
at showControlBar <url>
at closeMenuOverlay <url>
at playInterfaceUpdate <url>
at _onplay <url>
at applyMediaElementBindings/</< <url>
at dispatch <url>
at add/elemData.handle <url>

There is also a related error:
TypeError: self is undefined

at addPlayerBindings/< URL1:198:459
at dispatch URL2:73:742
at add/elemData.handle URL2:70:388
at trigger URL2:119:596
at trigger/< URL2:120:572
at each URL2:9:2
at each URL2:7:2
at trigger URL2:120:543
at applyMediaElementBindings/</< URL1:153:439
at dispatch URL2:73:742
at add/elemData.handle URL2:70:388

URL1: https://commons.wikimedia.org/w/load.php?lang=en&modules=fullScreenApi%7Cjquery.debouncedresize%2CembedMenu%2ChoverIntent%7Cjquery.ui.touchPunch%7Cmediawiki.UtilitiesTime%2CabsoluteUrl%2Cclient%7Cmediawiki.language.names%7Cmw.Api%2CEmbedPlayer%2CEmbedPlayerNative%2CEmbedTypes%2CMediaElement%2CMediaPlayer%2CMediaPlayers%2CMediaSource%2CMediaWikiPlayerSupport%2CTextSource%2CTimedText%2CajaxProxy&skin=vector&version=17tqc
URL2: https://commons.wikimedia.org/w/load.php?lang=en&modules=Spinner%2CdataValues%2Cjquery%2Coojs%2Coojs-router%2Coojs-ui%2Coojs-ui-core%2Coojs-ui-toolbars%2Coojs-ui-widgets%2Coojs-ui-windows%2Csite%2CvalueFormatters%2CvalueParsers%2Cvue%2Cwikibase%7CdataValues.DataValue%2CTimeValue%2Cvalues%7Cext.centralNotice.choiceData%2Cdisplay%2CgeoIP%2CkvStore%2CstartUp%7Cext.centralauth.ForeignApi%2Ccentralautologin%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.tmh.OgvJsSupport%2Ctranscodetable%7Cext.uls.common%2Ccompactlinks%2Ci18n%2Cinit%2Cinterface%2Clanguagenames%2Cmediawiki%2Cmessages%2Cpreferences%2Cwebfonts%7Cext.wikimediaEvents.wikibase%7Cjquery.animateWithEvent%2Cclient%2Ccookie%2CembedPlayer%2Ci18n%2Cinputautoexpand%2CloadingSpinner%2CmwEmbedUtil%2CtextSelection%2Cthrottle-debounce%2Ctipsy%2CtriggerQueueCallback%2Cui%2Culs%2Cvalueview%7Cjquery.event.special.eachchange%7Cjquery.ui.commonssuggester%2Clanguagesuggester%2Csuggester%7Cjquery.uls.data%2Cgrid%7Cjquery.util.getDirectionality%7Cjquery.valueview.Expert%2CExpertExtender%2CExpertStore%7Cjquery.valueview.experts.CommonsMediaType%2CEmptyValue%2CGeoShape%2CGlobeCoordinateInput%2CMonolingualText%2CQuantityInput%2CStringValue%2CTabularData%2CTimeInput%2CUnDeserializableValue%7Cjquery.wikibase.entityselector%2Cwbtooltip%7Cmediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2CconfirmCloseWindow%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cstorage%2Ctemplate%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.action.edit.editWarning%7Cmediawiki.action.view.metadata%7Cmediawiki.editfont.styles%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.page.watch.ajax%7Cmediawiki.template.mustache%2Cmustache%2Bdom%7Cmediawiki.ui.button%2Cicon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Cmw.EmbedPlayer.loader%7Cmw.MediaWikiPlayer.loader%7Cmw.MwEmbedSupport%2CPopUpMediaTransform%7Cmw.MwEmbedSupport.style%7Cmw.PopUpMediaTransform.styles%7Cmw.TMHGalleryHook.js%7Cmw.TimedText.loader%7Cmw.config.values.wbDataTypes%2CwbRefTabsEnabled%2CwbRepo%2CwbSiteDetails%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui-toolbars.icons%7Coojs-ui-widgets.icons%7Coojs-ui-windows.icons%7Coojs-ui.styles.icons-editing-core%2Cicons-interactions%2Cicons-location%2Cicons-movement%2Cindicators%7Cskins.vector.legacy.js%7Cuser.defaults%7Cutil.ContentLanguages%2CExtendable%2CMessageProvider%2CMessageProviders%2CNotifier%2ChighlightSubstring%2Cinherit%7CvalueParsers.ValueParserStore%2Cparsers%7Cwikibase.EntityInitializer%2CSite%2CWikibaseContentLanguages%2CbuildErrorOutput%2Cdatamodel%2CgetLanguageNameByCode%2CgetUserLanguages%2Cserialization%2Csites%2Ctainted-ref%2Ctemplates%7Cwikibase.api.RepoApi%2CValueCaller%7Cwikibase.entityChangers.EntityChangersFactory%7Cwikibase.entityPage.entityLoaded%7Cwikibase.experts.Entity%2CItem%2CProperty%2C__namespace%2Cmodules%7Cwikibase.formatters.ApiValueFormatter%7Cwikibase.mediainfo.base%2CfilePageDisplay%2Csearch%2Cstatements%2Culs%7Cwikibase.ui.entityViewInit%7Cwikibase.utilities.ClaimGuidGenerator%7Cwikibase.view.ControllerViewFactory%2CReadModeViewFactory%2C__namespace&skin=vector&version=1sdyf

Event Timeline

Jdlrobson renamed this task from TypeError: embedPlayer.controlBuilder is undefined to TypeError: embedPlayer.controlBuilder is undefined / self is undefined.Sep 11 2020, 5:51 PM
Jdlrobson updated the task description. (Show Details)
Jdlrobson renamed this task from TypeError: embedPlayer.controlBuilder is undefined / self is undefined to TypeError: embedPlayer.controlBuilder is undefined / self is undefined / TypeError: embedPlayer is undefined / TypeError: undefined is not an object (evaluating 'embedPlayer.controlBuilder.isOverlayControls') .Mar 30 2021, 10:56 PM
Jdlrobson updated the task description. (Show Details)

This is now being treated as logspam (41 errors in last 12hrs). I've filtered it out by default on the client error dashboard. Please remember to disable/remove this filter in future visits to the dashboard.

Screen Shot 2021-04-02 at 11.26.52 AM.png (68×272 px, 6 KB)

here's a more recent error: TypeError: Cannot read property 'controlBuilder' of undefined in case it's useful

at HTMLDivElement.<anonymous>  URL1:128:2
at HTMLDivElement.dispatch  URL2:162:703
at HTMLDivElement.elemData.handle  URL2:159:359
at Object.trigger  URL2:208:593
at HTMLDivElement.<anonymous>  URL2:209:572
at Function.each  URL2:98:1
at jQuery.fn.init.each  URL2:96:2
at jQuery.fn.init.trigger  URL2:209:543
at Object.showControlBar  URL1:81:594
at Object.closeMenuOverlay  URL1:109:245
tags
	input-kafka-clienterror-eqiad, kafka, es, es, throttle-exempt, normalized_message_untrimmed

URL1: https://en.wikipedia.org/w/load.php?lang=en&modules=mediawiki.language.names%7Cmw.EmbedPlayer%2CMediaWikiPlayerSupport%2CTimedText&skin=vector&version=3cqeb
URL2: https://en.wikipedia.org/w/load.php?lang=en&modules=ext.centralNotice.bannerHistoryLogger%2CchoiceData%2ClargeBannerLimit%2ClegacySupport%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.uls.common%2Ccompactlinks%2Cinterface%7Cjquery%7Cjquery.makeCollapsible%2Ctablesorter%7Cjquery.uls.data%7Cmediawiki.base%7Cmediawiki.language.months%7Cmediawiki.ui.button%2Cicon&skin=vector&version=17syk
matmarex added a subscriber: matmarex.

Seems to still occur with VideoJS player, judging by the error logs after T248418:
https://logstash.wikimedia.org/goto/e083b4c238df12cdc9d3efda2c2563f2

image.png (539×2 px, 42 KB)

(it could still be cached, let's re-check after a few weeks)

matmarex claimed this task.
matmarex removed a project: VideoJS player.

No more errors since the last time, so I guess this issue is not actually present in VideoJS:

image.png (531×2 px, 49 KB)