-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to execute 'replaceChild' on 'Node': The node to be replaced is not a child of this node. #6699
Comments
👋 Thanks for opening your first issue here! 👋 If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
PR submitted |
Like #5706, it would be good to figure out the root cause. Often times these issues and fixes with null checks just hide a worse problem that would be better if it were fixed. |
Hey everyone, is there any update on this issue? Currently we have many error logs coming from this one and there seems to be no fix! |
This is also the highest error rate in our NewRelic Browser monitoring (we use VideoJS through the Brightcove player specifically via the npm brightcove/react-player-loader npm package) so anything that moves towards fixing this error would be very helpful. |
Now three users all reporting high quantity of errors. Im ok if you don't merge my naive fix for reasons of wanting to find the root cause, but can you please find the root cause! We still have an enormous number of errors emitting out of this and would appreciate any attention you can give it |
Are all of you using newrlic for error tracking? Also, can you give me some more info about your environments? I've tried to reproduce it a bit but I've been unable to. |
We are using raygun as our error reporting tool. We use video.js in a react app similar to a netflix like product. I suspect that this issue comes up when the video.js player is disposed when swapping to a new video |
Wonder if it's a react? Have a sample of how the player is disposed and a new source used? |
Hi there, we have exactly the same problem. Our app use Angular 8, not react. We can't reproduce it, but some of our users have it (about 1%) whatever the browser or the OS. Could we just suppress the error while we try to find why it crash? Because we can't catch the error ourselves, it crash the entire application. And like @JustinMGaiam we have homemade log/error tracking, filled by this error. |
We're facing this as well, using PeerTube 2.4.0 (Angular 11). Our sentry quota was eaten up as well. PeerTube doesn't provide source maps so I can't dig deeper into where the actual source is (I just assume it is video.js since other people are facing the same issue here). @sebastien-f @travisbader @JustinMGaiam @Darkein Do you have any stack traces from NewRelic/Sentry that you can provide? PR created where the proposed change for #6700 is fixed: #6977 |
@kontrollanten Sorry, can't provide any it's a project under a very strict NDA. |
Using Google translate to translate a page that load videos causes this error, on my case. |
Confirmed that adding translate="no" on the DIV that encapsulates videojs prevents this issue entirely. Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/translate |
Description
Briefly describe the issue.
Include a reduced test case, we have a starter template on JSBin you can use.
Steps to reproduce
Explain in detail the exact steps necessary to reproduce the issue.
Results
Expected
Don't throw errors
Actual
The error is thrown
Error output
Additional Information
Please include any additional information necessary here. Including the following:
versions
videojs
7.7.6
browsers
Chrome for sure, haven't seen in other browsers yet
OSes
unknown
plugins
The text was updated successfully, but these errors were encountered: