Commit 1fb2c8dc authored by Johnny Leveneur's avatar Johnny Leveneur
Browse files

utilisation de la library zxing en locale

parent decaf1d5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -23,9 +23,9 @@ $callbackUrl = $this->callbackUrl ?? '/qr/callback';
    <pre id="result" style="margin-top:1rem;padding:0.75rem;background:#f8f9fa;border:1px solid #eee;border-radius:8px;white-space:pre-wrap;"></pre>
</div>

<!-- ZXing JS via CDN (ESM) -->
<script type="module">
    import { BrowserMultiFormatReader, NotFoundException } from "https://cdn.jsdelivr.net/npm/@zxing/library@0.20.0/+esm";
    // import { BrowserMultiFormatReader, NotFoundException } from "https://cdn.jsdelivr.net/npm/@zxing/library@0.20.0/+esm";
    import { BrowserMultiFormatReader, NotFoundException } from "/vendor/zxing/zxing-library.bundle.esm.js";

    const statusEl = document.getElementById('status');
    const videoEl  = document.getElementById('qr-video');
+30581 −0

File added.

Preview size limit exceeded, changes collapsed.