@@ -29,9 +29,9 @@ $ npm install dynamsoft-javascript-barcode --save
2929
3030cdn
3131``` html
32- <
script src =
" https://cdn.jsdelivr.net/npm/[email protected] .3 /dist/dbr.js" data-productKeys =
" PRODUCT-KEYS" ></
script >
32+ <
script src =
" https://cdn.jsdelivr.net/npm/[email protected] .5 /dist/dbr.js" data-productKeys =
" PRODUCT-KEYS" ></
script >
3333<!-- or -->
34- <
script src =
" https://unpkg.com/[email protected] .3 /dist/dbr.js" data-productKeys =
" PRODUCT-KEYS" ></
script >
34+ <
script src =
" https://unpkg.com/[email protected] .5 /dist/dbr.js" data-productKeys =
" PRODUCT-KEYS" ></
script >
3535```
3636
3737[ Download zip] ( https://www.dynamsoft.com/barcode-reader/downloads/?utm_source=github&package=js )
4040Please visit https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=github&package=js to get a valid license and update ` PRODUCT-KEYS ` :
4141
4242``` html
43- <
script src =
" https://cdn.jsdelivr.net/npm/[email protected] .3 /dist/dbr.js" data-productKeys =
" PRODUCT-KEYS" ></
script >
43+ <
script src =
" https://cdn.jsdelivr.net/npm/[email protected] .5 /dist/dbr.js" data-productKeys =
" PRODUCT-KEYS" ></
script >
4444```
4545
4646## Quick Usage
@@ -49,7 +49,7 @@ Please visit https://www.dynamsoft.com/customer/license/trialLicense/?product=db
4949<!DOCTYPE html>
5050<html >
5151<body >
52- <
script src =
" https://cdn.jsdelivr.net/npm/[email protected] .3 /dist/dbr.js" data-productKeys =
" PRODUCT-KEYS" ></
script >
52+ <
script src =
" https://cdn.jsdelivr.net/npm/[email protected] .5 /dist/dbr.js" data-productKeys =
" PRODUCT-KEYS" ></
script >
5353 <script >
5454 let scanner = null ;
5555 (async ()=> {
@@ -220,7 +220,7 @@ Create an HTML file with the following content. Deploy this to your web server a
220220<html >
221221<body >
222222 <!-- Please visit https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=github&package=js to get a trial license. -->
223- <
script src =
" https://cdn.jsdelivr.net/npm/[email protected] .3 /dist/dbr.js" data-productKeys =
" PRODUCT-KEYS" ></
script >
223+ <
script src =
" https://cdn.jsdelivr.net/npm/[email protected] .5 /dist/dbr.js" data-productKeys =
" PRODUCT-KEYS" ></
script >
224224 <script >
225225 let scanner = null ;
226226 (async ()=> {
@@ -279,13 +279,13 @@ Now, take a look at the sample code. You can find that there is nothing but two
279279* The following script includes the core library in the application via a [ jsDelivr] ( https://www.jsdelivr.com/ ) CDN
280280
281281 ``` javascript
282- < script src
= " https://cdn.jsdelivr.net/npm/[email protected] .3 /dist/dbr.js" data
- productKeys
= " PRODUCT-KEYS" >< / script
> 282+ < script src
= " https://cdn.jsdelivr.net/npm/[email protected] .5 /dist/dbr.js" data
- productKeys
= " PRODUCT-KEYS" >< / script
> 283283 ```
284284
285285 The same can be done with other CDNs like ` unpkg `
286286
287287 ``` javascript
288- < script src
= " https://unpkg.com/[email protected] .3 /dist/dbr.js" data
- productKeys
= " PRODUCT-KEYS" >< / script
> 288+ < script src
= " https://unpkg.com/[email protected] .5 /dist/dbr.js" data
- productKeys
= " PRODUCT-KEYS" >< / script
> 289289 ```
290290
291291 > ** NOTE** : : Since we do change the library a bit in each release, to make sure your application doesn't get interrupted by automatic updates, use a specific version in your production environment, as shown above. Using a general major version like ` @7 ` is not recommended.
@@ -444,7 +444,7 @@ The following introduces the 3rd way. Check out the following code on how it's d
444444 <video class =" dbrScanner-video" playsinline =" true" ></video >
445445 </div >
446446 <!-- Please visit https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=github&package=js to get a trial license. -->
447- <
script src =
" https://cdn.jsdelivr.net/npm/[email protected] .3 /dist/dbr.js" data-productKeys =
" PRODUCT-KEYS" ></
script >
447+ <
script src =
" https://cdn.jsdelivr.net/npm/[email protected] .5 /dist/dbr.js" data-productKeys =
" PRODUCT-KEYS" ></
script >
448448 <script >
449449 let scanner = null ;
450450 (async ()=> {
0 commit comments