babbleon Posted October 15, 2018 Share Posted October 15, 2018 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. Thank you. Quote Link to comment Share on other sites More sharing options...
babbleon Posted October 15, 2018 Author Share Posted October 15, 2018 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? Quote Link to comment Share on other sites More sharing options...
Guest Posted October 15, 2018 Share Posted October 15, 2018 Well this is not on us unfortunately. You have to be on a full https context to make it work Quote Link to comment Share on other sites More sharing options...
babbleon Posted October 16, 2018 Author Share Posted October 16, 2018 Thank you @Deltakosh https://letsencrypt.org/ saved the day and was much easier than I had imagined. Quote Link to comment Share on other sites More sharing options...
Guest Posted October 16, 2018 Share Posted October 16, 2018 Oh yeah these guys rock! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.