You can probably get away with forking that project and changing it from http to https for the connection to the peerjs server. Or changing the https to http on the playcanvas app URL (eg. http://playcanv.as/p/6ovmS8Bs/).
Cannot fork the project anymore as it uses legacy scripts.
whenever I load playcanvas in http, it switches over to https, the address bar switches this. Im on chrome by the way.
And if you try to run any request in HTTP over HTTPS(like a post request in playcanvas for example, or maybe a websocket open like ‘ws://’), the request will fail. This was recently changed in chrome, there were warnings before it happened.
Yes, we have changed this so it always redirects to HTTPS. I don’t know why the old project above is using HTTP but really it should be using a HTTPS connection for WebRTC