Ar.js: Webcam Error Name: NotAllowedError

Created on 20 Sep 2017  路  10Comments  路  Source: jeromeetienne/AR.js

iOS11 released, and this message shows when running examples, it seems need user click a play button before rendering?

Most helpful comment

I solved the problem by use "https" instead of "http".

All 10 comments

Exactly the same thing ! on my iphone and google chrome browser too. I just put the same exemple code on my ftp server.

I have run into this issue with another library, yahoo's Gifshot library. Wouldn't work at all on mobile safari until I added a user gesture and ran it inside there which made it work.

I solved the problem by use "https" instead of "http".

It's work thank you very much !

This shouldn't be closed. I still get this error with the A-Frame examples.

mind tossing us a little more info @leeprobert maybe theres somethign we can do to help troubleshoot for you

Did you get it working @leeprobert - amazing that we are both working on web-based AR!

I solved the problem by use "https" instead of "http".

thanks bro

I wasted my two hours time. To understand what is the issue ?

When troubleshooting these types of errors, be sure not to overlook the importance of the Feature-Policy HTTP header. If it's set to a restrictive setting for the camera, Chrome will throw an error before even attempting to ask the user for permission.

https://developers.google.com/web/updates/2018/06/feature-policy

Maybe, i can open it on iphone, but can't open it on android ver7.0? How i can to fix it?

Was this page helpful?
0 / 5 - 0 ratings