Scan 1D/2D Code from Video Camera
This example shows how to scan any supported 1D/2D code with ZXing javascript library from the device video camera. If more than one video input devices are available (for example front and back camera) the example shows how to read them and use a select to change the input device.
See the source code for this example.