bug: disable image (camera) attachment upload unless over HTTPS
Browser restriction: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia#privacy_and_security
This commit is contained in:
@@ -112,8 +112,8 @@
|
||||
.getUserMedia({
|
||||
audio: false,
|
||||
video: {
|
||||
width: { ideal: 1080 },
|
||||
height: { ideal: 720 },
|
||||
width: { ideal: 1920 },
|
||||
height: { ideal: 1080 },
|
||||
facingMode: 'environment'
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user