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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.