IRC logs for #farmOS, 2022-09-01 (GMT)

2022-08-31
2022-09-02
TimeNickMessage
[21:39:44]* heartburn has joined #farmos
[23:18:48]<symbioquine[m]><paul121[m]> "media_module.mp4" <- > ![image](https://user-images.githubusercontent.com/30754460/187824584-6fd6b90a-89...)
[23:18:48]<symbioquine[m]>Played okay in VLC though 😕
[23:19:48]<symbioquine[m]>s/> ![image](//, s/)//
[05:00:09]* courtneylking[m] has quit (Quit: You have been kicked for being idle)
[06:39:47]* ander[m] has joined #farmos
[08:14:29]<mstenta[m]>paul121: I wonder if it would be worth enabling this by default in farmOS?
[08:14:38]<mstenta[m]>ACTION uploaded an image: (8KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/fBULGzTLCFh... >
[08:15:04]<mstenta[m]>Haven't played with it much... but I think it would allow users to set dark mode, color scheme, compact layout settings, etc
[10:46:34]<paul121[m]>Yeah I think it would be pretty safe!
[11:36:12]<paul121[m]>@room Weekly farmOS dev call in 30 minutes! https://meet.jit.si/farmos-dev
[12:00:29]<mstenta[m]>For real this time :-)
[14:51:42]<FarmerEd[m]>symbioquine: I see the QR function on Asset Link uses the camera (as one might expect), but have you implemented the camera in any other plugins? Could it be useful for taking pictures and uploading directly to an asset?
[14:52:39]<symbioquine[m]>It is possible to take a photo "in app" using similar functionality, but not the best way IMHO
[14:53:03]<symbioquine[m]>The problem is that many browsers limit the resolution/quality of the "Webcam" functionality pretty severely.
[14:53:18]<symbioquine[m]>Instead it's better to use a file input with the `capture` flag.
[14:53:43]<symbioquine[m]>https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture
[14:53:53]<symbioquine[m]>I was actually thinking of working on that pretty soon
[14:55:01]<symbioquine[m]>In Rabbit Link (Inspiration for Asset Link), I had a widget that showed a folder button and - if available - a capture button that dropped you straight into the camera as part of selecting the file.
[14:57:59]<FarmerEd[m]>cool, would be a neat feature, I assume for all intents and purposes this method "appears" as though taking the picture in app?
[14:58:09]<symbioquine[m]>Pretty much
[18:20:06]<symbioquine[m]>ACTION uploaded a video: (2476KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/LZbiYyjBJvP... >
[18:21:45]<symbioquine[m]>Just roughed in the UX similar to what I had in Rabbit Link. would need a bit more work to actually do the upload, have better progress, etc...
[18:22:33]<mstenta[m]>Oh man
[18:22:48]<mstenta[m]>That's awesome
[18:22:53]<symbioquine[m]>Thanks!
[18:23:24]<mstenta[m]>It will add images to the image field of the asset?
[18:23:59]<symbioquine[m]>Well, in that particular scenario, yes
[18:23:59]<mstenta[m]>So cool
[18:24:07]<symbioquine[m]>But the widget could be added to other plugins...
[18:24:13]<symbioquine[m]>e.g. as part of an observation log creation workflow
[18:24:18]<mstenta[m]>Yea!!!
[18:24:21]<mstenta[m]>Coooool
[18:25:28]<symbioquine[m]>Gotta figure out what it will take to make Orbit.js do Drupal file uploads though... 🫣
[18:41:25]<mstenta[m]>Ahhh yea :-)