-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(youtube-player): YT.Player is not a constructor (#20616)
* fix(youtube-player): YT.Player is not a constructor fixes a race condition where window.YT would be truthy but window.YT.Player would not be ready. Fixes #20598 * fix(youtube-player): YT.Player is not a constructor test added a test to prevent reggression, the test mimics a possible state of the YT object when loading, when window.YT exists but window.YT.Player does not. Fixes #20598
- Loading branch information
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters