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 bug when loading this library in edge #6

Merged
merged 1 commit into from Jul 30, 2020
Merged

Conversation

zwade
Copy link
Contributor

@zwade zwade commented Jan 23, 2020

In the new version of Microsoft Edge, window.cast is set, but chrome.cast is not. This is an issue because the chromecast library internally references chrome.cast. As a result, when trying to load this library in Edge, it immediately crashes. This change should preserve existing functionality, while preventing the crash in Edge.

@AnteWall AnteWall merged commit 314855d into AnteWall:master Jul 30, 2020
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.

None yet

2 participants