Skip to content
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

fix(control-bar): dont crash after dispose #6977

Merged
merged 2 commits into from
Dec 11, 2020
Merged

fix(control-bar): dont crash after dispose #6977

merged 2 commits into from
Dec 11, 2020

Conversation

kontrollanten
Copy link
Contributor

Description

Fixed the change requested in #6700. Thanks to @travisbader

@welcome
Copy link

welcome bot commented Dec 6, 2020

💖 Thanks for opening this pull request! 💖

Things that will help get your PR across the finish line:

  • Run npm run lint -- --errors locally to catch formatting errors earlier.
  • Include tests when adding/changing behavior.
  • Include screenshots and animated GIFs whenever possible.

We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can.

@brandonocasey brandonocasey added needs: LGTM Needs one or more additional approvals and removed needs: updates labels Dec 8, 2020
@gkatsev gkatsev merged commit 3e30f83 into videojs:main Dec 11, 2020
@welcome
Copy link

welcome bot commented Dec 11, 2020

Congrats on merging your first pull request! 🎉🎉🎉

@kontrollanten kontrollanten deleted the failed-to-replace-node branch December 12, 2020 15:32
@gkatsev
Copy link
Member

gkatsev commented Jan 22, 2021

Looks like this broke IE11. The TimeDisplay ends up appending rather replacing. It looks like IE11 doesn't handle text nodes with contains
image

I'll make a PR to switch to looking at comparing the first child
image

@gkatsev
Copy link
Member

gkatsev commented Jan 22, 2021

MDN confirms that IE11 only supports HTMLElement for contains: https://developer.mozilla.org/en-US/docs/Web/API/Node/contains#browser_compatibility. Fix here #7059

gkatsev added a commit that referenced this pull request Oct 14, 2021
This is another follow-up to #6699.

Potentially, it means we could get rid of #6977
gkatsev added a commit that referenced this pull request Nov 9, 2021
This is another follow-up to #6699.

Potentially, it means we could get rid of #6977
@misteroneill misteroneill removed the needs: LGTM Needs one or more additional approvals label May 23, 2023
edirub pushed a commit to edirub/video.js that referenced this pull request Jun 8, 2023
edirub pushed a commit to edirub/video.js that referenced this pull request Jun 8, 2023
This is another follow-up to videojs#6699.

Potentially, it means we could get rid of videojs#6977
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants