babbleon

Playground works, zipped copy does not

Recommended Posts

Hello,

This PG works fine on Android Chrome when viewed as a PG: https://www.babylonjs-playground.com/#5Q0MBS#10 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.

1676257326_Capture_2018-10-15-14-51-25.thumb.png.cb7795ce2a444cb8fc25995b720bd7b4.png

1277479776_Capture_2018-10-15-14-51-48.thumb.png.a9b2f6d703df08b3b144f6e687f24518.png

Thank you.

Share this post


Link to post
Share on other sites

oh...

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 https://goo.gl/rStTGz 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.