Skip to content

Commit 42efa36

Browse files
committed
update header & trial license
1 parent b26beba commit 42efa36

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

barcode-scanner-api-samples/scan-single-barcode/scan-and-search.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@
55
<meta charset="UTF-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Scan & Search with BarcodeScanner</title>
8-
8+
99
<!-- Include Dynamsoft Barcode Reader Bundle via CDN -->
1010
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.0.3000/dist/dbr.bundle.js"></script>
1111
<!-- If the network is unstable or you prefer to self-host the SDK, uncomment the line below to load it locally -->
1212
<!-- <script src="../../../distributables/dbr.bundle.js"></script> -->
1313
</head>
1414

1515
<body>
16+
<h1>📦 Instant Product Information Lookup</h1>
17+
<h2>Enter a UPC, EAN, or ISBN number to retrieve accurate product data from a specific database</h2>
1618
<h3></h3>
1719
<div id="container">
1820
<button id="scan-btn" aria-label="Scan barcode">
@@ -23,7 +25,7 @@ <h3></h3>
2325
<div class="corner br"></div>
2426
</div>
2527
</button>
26-
<input type="text" id="text-input" placeholder="Enter any UPC, EAN, or ISBN number" />
28+
<input type="text" id="text-input" placeholder="e.g. 049000042511" />
2729
<button id="search-btn" aria-label="Search">
2830
<div class="search-icon"></div>
2931
</button>
@@ -41,7 +43,7 @@ <h3></h3>
4143

4244
async function startScanner() {
4345
const barcodeScanner = new Dynamsoft.BarcodeScanner({
44-
license: "", // Replace with valid license key
46+
license: "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", // Replace with valid license key
4547
scanMode: Dynamsoft.EnumScanMode.SM_SINGLE,
4648
showUploadImageButton: true,
4749
scannerViewConfig: {

0 commit comments

Comments
 (0)