Comments (10)
This component SHOULD always default to the rear camera.
I assume you tested the component on a device and it used the front camera instead? If so, check if you have the same problem on the demo page and tell me your device name, OS version and browser version.
Or do you really want to be able to manually configure which camera is used? If this is what you mean, please explain your use case.
Thanks!
from vue-qrcode-reader.
I building a Kiosk Web App on Android Tablet has 2 camera. The member need to check-in by Qr-code on front-camera. I tested on some android table, some time it's scan rear camera, some time it's scan front camera. I need to have a solution to turn on rear|front on device.
from vue-qrcode-reader.
Hmmm... I don't get it. Why do want your users to check-in using the front camera? I would expect that this is a little bit cumbersome?
from vue-qrcode-reader.
This is our demo devices. It has two camera. User will check-in from front-camera.
from vue-qrcode-reader.
Ok, now I get it. I'll deal with it 😉
from vue-qrcode-reader.
I opened a PR. Install it via
yarn add git+https://github.com/gruhn/vue-qrcode-reader.git#constraint-prop
# or
npm install --save git+https://github.com/gruhn/vue-qrcode-reader.git#constraint-prop
and check if this suits your needs.
I also updated the README in this PR. Refer to that for usage instructions.
from vue-qrcode-reader.
So fast and very details. Thanks bro.
from vue-qrcode-reader.
sure 😁 👍
from vue-qrcode-reader.
now also on NPM
from vue-qrcode-reader.
🎉 This issue has been resolved in version 1.0.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
from vue-qrcode-reader.
Related Issues (20)
- The h5 page is used in the Android app, and the native input tag is used in the h5 page for uploading pictures. There is no problem in uploading pictures. But clicking on qrcode returns NotAllowedError directly, and the Android app opens the album and camera permissions HOT 2
- When changing torch status it stop detecting codes HOT 8
- 5.3.0版本以后,如图示,不能正常编译 HOT 1
- Feature Request: Loading spinner for camera area. HOT 2
- Why torch is always not supported? HOT 23
- camera does not appear / not showing when i deploy the application in server HOT 7
- Possible Features to Adjust Camera Expossure HOT 6
- structured-clone is not defined HOT 3
- Disable capture property on QRCodeCapture HOT 2
- How to avoid wide-angle cameras HOT 2
- The automated release is failing 🚨
- CDN download link returns file does not exist HOT 2
- Serious bug(严重的bug) HOT 1
- 版本3.1.9,方法onCameraOn无效,是否含有这个方法?
- 版本3.1.9是否支持formats?如果不支持我应该如何实现? HOT 13
- Scan small DataMatrix HOT 2
- Detect and tracking don't work anymore if choose a camera with constraints HOT 9
- corresponding type declarations HOT 2
- use paused introduce around 1s to 2s of freeze HOT 4
- Feature Request: PDF-Support for Dropzone HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-qrcode-reader.