Page MenuHomePhabricator

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


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.

at t.<anonymous>

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

Change 679983 abandoned by Jforrester:

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


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

Change 716016 merged by jenkins-bot:

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

Jdlrobson claimed this task.

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