Page MenuHomePhabricator

NotFoundError: Failed to execute 'replaceChild' on 'Node': The node to be replaced is not a child of this node.
Closed, ResolvedPublic

Description

The error occurs on article pages, but is being amplified by appearance on Special:MediaSearch which may want to do something on the short term.
e.g. https://commons.wikimedia.org/w/index.php?search=Chopin&title=Special:MediaSearch&go=Go&type=audio

at t.<anonymous>  https://commons.wikimedia.org/w/load.php?lang=en&modules=ext.tmh.video-js&skin=vector&version=1hxfm:97:172
at https://commons.wikimedia.org/w/load.php?lang=en&modules=ext.tmh.video-js&skin=vector&version=1hxfm:26:272

https://logstash.wikimedia.org/app/dashboards#/doc/logstash-*/logstash-2021.04.02?id=vYkblHgBWKe2MTdRNpD4

Event Timeline

This is one of the most commonly-occurring errors on Special:MediaSearch right now, according to the new dedicated dashboard for the page.

This error comes from the video.js player that comes with TimedMediaHandler. I think that this error could potentially be addressed by bumping video.js to at least version 7.11.1 (here is the changelog, which includes a fix for what appears to be the same issue). We currently use version 7.7.4. The error may have something to do with the creation of multiple instances of a video player on a single page, something that happens in our video search tab all the time, but would also happen on article pages with multiple embedded videos; stand-alone file pages for a single video may not exhibit the error.

@brion is a Video.js version bump from 7.7.4 -> 7.11.1 or newer something that would be easily done in TMH? If so we could try that and see if this error goes away.

Change 679983 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/TimedMediaHandler@master] Update video.js to 7.12.1

https://gerrit.wikimedia.org/r/679983

Change 679983 abandoned by Jforrester:

[mediawiki/extensions/TimedMediaHandler@master] Update video.js to 7.12.1

Reason:

https://gerrit.wikimedia.org/r/679983

Change 716016 had a related patch set uploaded (by Jforrester; author: Brion VIBBER):

[mediawiki/extensions/TimedMediaHandler@master] Update video.js from 7.7.4 to 7.14.3

https://gerrit.wikimedia.org/r/716016

Change 716016 merged by jenkins-bot:

[mediawiki/extensions/TimedMediaHandler@master] Update video.js from 7.7.4 to 7.14.3

https://gerrit.wikimedia.org/r/716016

Jdlrobson claimed this task.

No errors in last 7 days, so likely fixed by above (yay!)