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

Better handling of YouTube methods before player is ready #20

Closed
cookpete opened this issue Jan 2, 2016 · 1 comment · Fixed by #21
Closed

Better handling of YouTube methods before player is ready #20

cookpete opened this issue Jan 2, 2016 · 1 comment · Fixed by #21

Comments

@cookpete
Copy link
Owner

cookpete commented Jan 2, 2016

@Fauntleroy has found that play() can sometimes be called before this.player.playVideo exists. f18792a prevents errors for the time being, but doesn't really fix the problem.

From this discussion.

@Fauntleroy
Copy link
Contributor

@cookpete I think I found the culprit: this.getSDK() can get called more than once. It's initially called for the blank video load, but it will be called again if you load another video before the SDK finishes loading.

cookpete added a commit that referenced this issue Jan 3, 2016
cookpete added a commit that referenced this issue Jan 3, 2016
cookpete added a commit that referenced this issue Jan 3, 2016
david-hub024 pushed a commit to david-hub024/React_VideoPlayer that referenced this issue Dec 23, 2018
@mgw-sbex mgw-sbex mentioned this issue Jan 25, 2019
david-hub024 pushed a commit to david-hub024/React_VideoPlayer that referenced this issue May 23, 2020
albanqoku added a commit to albanqoku/react-player that referenced this issue Feb 24, 2021
Webmaster1116 added a commit to Webmaster1116/video-player that referenced this issue May 20, 2021
webmiraclepro added a commit to webmiraclepro/video-player that referenced this issue Sep 9, 2022
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 a pull request may close this issue.

2 participants