About videoGrabberExample in emscripten


#1

hello
I checked OF 's videoGrabberExample in emscripten.
I set it in this site
http://monkeytalk.jp/cam/videoGrabberExample.html
If I open this in Firefox ,it worked,
but if I open it in chrome .it cannot work(It cannot show camera permission dialog) .
only black image is shown.

Bit if I test it in local PC by this command
emrun --browser chrome bin/videoGrabberExample.html
it worked.(It can show camera permission dialog)

I want to know why it cannot show camera permission dialog in chrome only my site.
Do you know its reason?


#2

I solved.
Chrome said,"[Deprecation] 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."

So I will change this server to https.