funky icon indicating copy to clipboard operation
funky copied to clipboard

The demo does not work because of the new insecure origins policy

Open djipco opened this issue 8 years ago • 6 comments

The getUserMedia() function no longer works when hosted via insecure origins (non-https).

djipco avatar Jan 09 '16 00:01 djipco

Just a quick note that you can still see the demo if you clone the repo and view it locally. As long as you have Node.js installed you can do the following in the funky directory:

npm install http-server -g http-server

Then go to 127.0.0.1:8080 and you'll see it.

thomasmaclean avatar Jun 27 '16 17:06 thomasmaclean

I will try that, but will be cool to have the demo online

Thanks!

aotaduy avatar Aug 24 '16 20:08 aotaduy

hi, is there any way to make this demo working ? sorry i didn't understand thomasmaclean solution.

Thanks

purestudio avatar Feb 27 '17 10:02 purestudio

@purestudio

running locally

To make it work locally you need to have a server running. It could be a node server like @thomasmaclean suggested or any other server. If you have PHP installed it could be a command php -S localhost:8080 as well

Then you need to navigate to http://localhost:8080/examples

make it work locally

This library is using old deprecated API to make it work you need to change those lines img

I can prepare PR, but author needs to approve it. Because it looks like project is abandoned I will not do it. Will you approve my PR @43081j

piotr-galas avatar May 08 '20 08:05 piotr-galas

yup, sorry for not keeping up with this, its one of a couple of aged repos now i haven't had any time to properly maintain.

if you do a PR i will be happy to review it

43081j avatar May 08 '20 08:05 43081j

Fixed in 68f86a3 which has been merged into matser

samyk avatar Jan 14 '21 07:01 samyk