File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1818 < h1 style ="font-size: 1.5em; "> Read Barcodes from a Camera</ h1 >
1919 < button id ="btn-show-scanner "> Show Barcode Scanner</ button >
2020 < script type ="module ">
21- /** LICENSE ALERT - README
21+ import { BarcodeReader , BarcodeScanner } from 'https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/dbr.mjs' ;
22+ /** LICENSE ALERT - README
2223 *
2324 * The library requires a license to work.
2425 * If the license is not specified, a free public trial license will be used by default which is the case in this sample.
@@ -31,12 +32,10 @@ <h1 style="font-size: 1.5em;">Read Barcodes from a Camera</h1>
3132 // BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
3233
3334 /** LICENSE ALERT - THE END */
34- import { BarcodeReader , BarcodeScanner } from 'https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/dbr.mjs' ;
3535
3636 // DBR.productKeys = "PRODUCT-KEYS";
37-
38- BarcodeReader . engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/" ;
3937
38+ BarcodeReader . engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/" ;
4039
4140 let pScanner = null ;
4241 document . getElementById ( 'btn-show-scanner' ) . addEventListener ( 'click' , async ( ) => {
You can’t perform that action at this time.
0 commit comments