jcmellado / js-aruco

JavaScript library for Augmented Reality applications
Other
600 stars 132 forks source link

Able to get online demos working, but cant get it to work when I recreate it locally? #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Copy the demo to local folder
2.Click the html file in folder and display in chrome
3. Webcam permission is asked, but when you click allow no video is displayed.

What is the expected output? What do you see instead?
Expect to see video stream, see nothing instead

What version of the product are you using? On what operating system?
I am using Windows 7, Google Chrome 20.

Please provide any additional information below.

It works fine if I do it on the website 
http://inmensia.com/files/aruco/getusermedia/getusermedia.html

but wont work locally, your help will be greatly appreciated!!

Original issue reported on code.google.com by Jonathan...@gmail.com on 9 Jul 2012 at 5:34

GoogleCodeExporter commented 9 years ago
Is JavaScript console (F12) showing a "Not allowed to load local resource: ..." 
error?

If so, add the --allow-file-access-from-files flag to your Chrome command line.

This flag is only for debugging purposes, don't use it for you normal browsing.

Original comment by jcmell...@gmail.com on 9 Jul 2012 at 9:54

GoogleCodeExporter commented 9 years ago

Original comment by jcmell...@gmail.com on 14 Jul 2012 at 6:59