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

iframe is not defined #21

Closed
alex-kinokon opened this issue Aug 10, 2015 · 4 comments
Closed

iframe is not defined #21

alex-kinokon opened this issue Aug 10, 2015 · 4 comments

Comments

@alex-kinokon
Copy link

var win = iframe.contentWindow;

should probably be

var win = document.getElementById('iframe').contentWindow;

since iframe is not defined.

@diafygi
Copy link
Owner

diafygi commented Aug 10, 2015

This is intentional to get around extensions that try to block WebRTC through javascript trickery.

@diafygi diafygi closed this as completed Aug 10, 2015
@diafygi
Copy link
Owner

diafygi commented Aug 10, 2015

Actually, did you get an error in a browser? Which browser?

@diafygi diafygi reopened this Aug 10, 2015
@alex-kinokon
Copy link
Author

My bad. iframe is indeed defined.

@wondervendor
Copy link

In PaleMoon 25.8.1 it says "ReferenceError: iframe is not defined".
But it works fine in my Firefox 38.0.5 installed in the same OS.

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

No branches or pull requests

3 participants