Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Webcam is not defined #6

Open
atif opened this issue Oct 14, 2015 · 3 comments
Open

Webcam is not defined #6

atif opened this issue Oct 14, 2015 · 3 comments
Assignees

Comments

@bcabanes
Copy link
Owner

Hi @atif,
You have to import script webcam.js. You should have it in your bower dependencies because it's required for ng-camera.

<script src="/path/to/webcam.js"></script>

@bcabanes bcabanes self-assigned this Oct 16, 2015
@atif
Copy link
Author

atif commented Oct 26, 2015

@bcabanes : I have included both webcam, and ng-camera in bower dependencies. Still getting above error

@phzietsman
Copy link

Had the save issue when loading it in Electron. Include it as follow:

<script type="text/javascript" src="vendors/webcamjs/webcam.min.js" onload="window.Webcam = module.exports;"></script>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants