Closed navarts-design closed 1 year ago
I added a camera switcher for the next version 2.1.0 (needs Kimai 2.x).
This dropdown can be deactivated, Inputs are derived via Javascript from the current device browser (which needs the camera permission).
Hey There, perfect! I'm looking forward to testing in the new release! Thanks
Can be tested via the v2 demo. Go to https://www.kimai.org/en/demo.html and then choose this demo:
Hey there, it would be great if you could add a select option to use Device Front Camera as barcode scanner. In the current version, I can select "Barcode via Device Camera".
In our office, we use a tablet that is fixed at the wall, and so we can't use back camera and have to switch to front camera. So i decided to extend your "Quagga.init" function (in KisokBundle/Resources/views/webcam.html.twig on line:35) with:
... constraints: { width: {min: 640}, height: {min: 480}, facingMode: "user", aspectRatio: {min: 1, max: 2} } ...
After that, all mobile devices are using Front Camera. But at the moment it is just hard coded to your files.
Can you maby tell me how to add this code update safe? Or if you like my idea of setting this as general select option "Barcode via Device Front Camera", just add this as option in your installation. It would be great.
Thanks for all and have a good day