Skip to content

fix(duckplayer): ensure overlay shows when DOM is added incrementally #593

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

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

shakyShane
Copy link
Contributor

@shakyShane shakyShane commented Jun 26, 2023

https://app.asana.com/0/0/1204905284325680/f

This PR makes the following change to the overlays on YT

before:

  • we considered the presence of #player alone to indicate readiness

after:

  • we now wait for the presence of child elements too (such as the video + container)

This resolves issues with our overlay not showing in some cases

@shakyShane
Copy link
Contributor Author

shakyShane commented Jun 26, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@shakyShane
Copy link
Contributor Author

Merging since @SabrinaTardio and I have both tested extensively on macOS + Windows

@shakyShane shakyShane merged commit 4f85178 into main Jun 26, 2023
@shakyShane shakyShane deleted the shane/duckplayer/video-overlay-fixes branch June 26, 2023 19:46
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.

1 participant