diff --git a/src/components/inputs/InputPhoto.vue b/src/components/inputs/InputPhoto.vue index 7a7d882..e89136f 100644 --- a/src/components/inputs/InputPhoto.vue +++ b/src/components/inputs/InputPhoto.vue @@ -61,7 +61,7 @@ export default { if (!this.capturing) { this.capturing = true; this.streaming = false; - navigator.mediaDevices.getUserMedia({video: true, audio: false}).then(stream => { + navigator.mediaDevices.getUserMedia({video: { facingMode: "environment" }, audio: false}).then(stream => { this.stream = stream; const { video } = this.$refs; video.srcObject = stream;