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

[PLAYER] Provide meaningfull warn message for early player API calls #37

Merged
merged 1 commit into from Sep 2, 2016

Conversation

dharFr
Copy link
Contributor

@dharFr dharFr commented Sep 2, 2016

Calling the player API right after initialization was leading to a browser error about postMessage, most likely because the iframe content is not yet available.
That fix prevents the postMessage call to occurs and provides a more meaningful warning in the browser's console.

@briganti briganti merged commit a291d89 into master Sep 2, 2016
@dharFr dharFr deleted the fix-early-calls branch September 27, 2017 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants