[–] idontevengohere 5y ago ↗ this is the coolest!!!!! Although.... it randomly disconnects sometimes! but STILL the coolest thing ever! [–] tomjacobs 5y ago ↗ ha, that's me taking over control
[–] Doman 5y ago ↗ Really cool, but please work a bit on controls for smartphones. Holding a button pops up a browser's menu. [–] tomjacobs 5y ago ↗ any webdevs out there, love to help? [–] davidsojevic 5y ago ↗ So generally a quick way to prevent that sort of stuff from happening on mobile is to tack this CSS onto the elements in question (canvas, img, etc): touch-action: none; -ms-touch-action: none; user-select: none; That should prevent any touch related actions and accidental user selection on devices.See MDN for details on each:https://developer.mozilla.org/en-US/docs/Web/CSS/touch-actio...https://developer.mozilla.org/en-US/docs/Web/CSS/user-select [–] tomjacobs 5y ago ↗ done, thanks! didn't seem to work though
[–] tomjacobs 5y ago ↗ any webdevs out there, love to help? [–] davidsojevic 5y ago ↗ So generally a quick way to prevent that sort of stuff from happening on mobile is to tack this CSS onto the elements in question (canvas, img, etc): touch-action: none; -ms-touch-action: none; user-select: none; That should prevent any touch related actions and accidental user selection on devices.See MDN for details on each:https://developer.mozilla.org/en-US/docs/Web/CSS/touch-actio...https://developer.mozilla.org/en-US/docs/Web/CSS/user-select [–] tomjacobs 5y ago ↗ done, thanks! didn't seem to work though
[–] davidsojevic 5y ago ↗ So generally a quick way to prevent that sort of stuff from happening on mobile is to tack this CSS onto the elements in question (canvas, img, etc): touch-action: none; -ms-touch-action: none; user-select: none; That should prevent any touch related actions and accidental user selection on devices.See MDN for details on each:https://developer.mozilla.org/en-US/docs/Web/CSS/touch-actio...https://developer.mozilla.org/en-US/docs/Web/CSS/user-select [–] tomjacobs 5y ago ↗ done, thanks! didn't seem to work though
[–] ChrisGranger 5y ago ↗ I think I got stuck, so I tried sending an S-O-S via the motor. [–] tomjacobs 5y ago ↗ SHIFT for TURBO!
[–] ilovefood 5y ago ↗ Loved it haha! Sorry for knocking down the No Boxes :) [–] tomjacobs 5y ago ↗ crash
[–] worldmerge 5y ago ↗ This is really cool! I would have loved to implement such a low latency video feed for one my past projects. How did you do the video feed? [–] tomjacobs 5y ago ↗ h264 raw over websockets, js decoder
[–] pcdoodle 5y ago ↗ wow, that latency is fantastic, how does it work? [–] tomjacobs 5y ago ↗ raw h264 over websockets
16 comments
[ 2.9 ms ] story [ 50.1 ms ] threadSee MDN for details on each:
https://developer.mozilla.org/en-US/docs/Web/CSS/touch-actio...
https://developer.mozilla.org/en-US/docs/Web/CSS/user-select