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: prevent initialization from happening twice #9

Merged
merged 2 commits into from
Aug 3, 2017

Conversation

brandonocasey
Copy link
Contributor

No description provided.

if (this.usingPlugin('vr')) {
videojs.log.warn('videojs-vr is already intialized, not going to initialize again');
return;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new line after here probably

@brandonocasey brandonocasey merged commit 33deadc into master Aug 3, 2017
@brandonocasey brandonocasey deleted the fix/init-protection branch August 3, 2017 20:40
kevleyski added a commit to kevleyski/videojs-vr that referenced this pull request Dec 20, 2022
chore: Swap webvr to webxr polyfill packages
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.

2 participants