instascan
instascan copied to clipboard
How to change mirror effect in the camera?
pass this param to fix it "mirror"
let scanner = new Instascan.Scanner({ video: document.getElementById('preview'), mirror: false // prevents the video to be mirrored });
@DysAhm Where can I change them? Sorry, but I can't find it.
is it located in app.js?
added it to self.scanner = new Instascan.Scanner({ video: document.getElementById('preview'), scanPeriod: 5});
but doesn`t work...
@DysAhm thanx it works like charm... :)
Please where is it located??
pass this param to fix it "mirror"
let scanner = new Instascan.Scanner({ video: document.getElementById('preview'), mirror: false // prevents the video to be mirrored });
This doesn't work for me :(
Please where is it located??
Go to app.js Search for the line self.scanner = new Instascan.Scanner({ video: document.getElementById('preview'),mirror: false, scanPeriod: 5 // prevents the video to be mirrored });
is it located in app.js?
added it to
self.scanner = new Instascan.Scanner({ video: document.getElementById('preview'), scanPeriod: 5});
but doesn`t work...
Use Comma after mirror: false, like this mirror: false, scanPeriod: 5 });