Playground works, zipped copy does not

Recommended Posts


This PG works fine on Android Chrome when viewed as a PG: but not when  I download as a ZIP and then stick it on my server. I do not get any output from the devices camera.

Chrome gives me this error:

babylon.js:1 BJS - [15:09:01]: NotSupportedError
_._ErrorEnabled @ babylon.js:1
(anonymous) @ babylon.js:1
Promise.catch (async)
o.CreateFromWebCam @ babylon.js:1
(anonymous) @ (index):122
(anonymous) @ (index):120
Promise.then (async)
createScene @ (index):116
(anonymous) @ (index):137

Does anyone have any ideas as to why it might not work and what the error message may relate to please?

Screenshots below.



Thank you.

Share this post

Link to post
Share on other sites


Is my problem due to this?

getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See for more details.

That's a pain if it is. Do we have a workaround?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.