MyGit

v2.3.2

mebjas/html5-qrcode

版本发布时间: 2022-11-22 19:59:58

mebjas/html5-qrcode最新发布版本:v2.3.8(2023-04-15 13:48:51)

Version 2.3.2

Features or bug fixes.

Support for zoom slider in Html5QrcodeScanner. Added basic support for zoom feature under configuration flag (not enabled by default). This was raised in issue issue#330.This should help address some focus issues raised so far.

Not supported on Safari or any IOS browser though!

How to use

let html5QrcodeScanner = new Html5QrcodeScanner(
    "reader", 
    { 
        fps: 10,
        qrbox: qrboxFunction,
        useBarCodeDetectorIfSupported: true,
        rememberLastUsedCamera: true,
        aspectRatio: 4/3,
        showTorchButtonIfSupported: true,
        showZoomSliderIfSupported: true,
        defaultZoomValueIfSupported: 2
        // ^ this means by default camera will load at 2x zoom.
    });

Tech debts

相关地址:原始地址 下载(tar) 下载(zip)

1、 html5-qrcode.min.js 364.46KB

查看:2022-11-22发行的版本