Skip to content

Commit 6cbcdae

Browse files
authored
Merge pull request #67 from Dynamsoft/7.5.0-v0_dev
7.5.0-v0
2 parents bd87615 + 3d34aa2 commit 6cbcdae

File tree

81 files changed

+975
-875
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+975
-875
lines changed

README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ $ npm install dynamsoft-javascript-barcode --save
2525

2626
cdn
2727
```html
28-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.4.0-v1/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
28+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.5.0-v0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
2929
<!-- or -->
30-
<script src="https://unpkg.com/dynamsoft-javascript-barcode@7.4.0-v1/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
30+
<script src="https://unpkg.com/dynamsoft-javascript-barcode@7.5.0-v0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
3131
```
3232

3333
[Download zip](https://www.dynamsoft.com/Downloads/Dynamic-Barcode-Reader-Download.aspx?edition=js)
@@ -38,7 +38,7 @@ cdn
3838
<!DOCTYPE html>
3939
<html>
4040
<body>
41-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.4.0-v1/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
41+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.5.0-v0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
4242
<script>
4343
let scanner = null;
4444
(async()=>{
@@ -92,6 +92,7 @@ Dynamsoft.BarcodeReader.productKeys = 'PRODUCT-KEYS';
9292
- [Show found barcodes](#show-found-barcodes)
9393
- [Read a specific area/region](#read-a-specific-arearegion)
9494
- [Self-hosted | Offline | Intranet Deployment](#self-hosted--offline--intranet-deployment)
95+
- [Known Issues](#known-issues)
9596
- [Changelog](#changelog)
9697
- [How to Upgrade](#how-to-upgrade)
9798
- [API Documentation](#api-documentation)
@@ -208,7 +209,7 @@ Create an HTML file with the following content. Deploy this to your web server a
208209
<html>
209210
<body>
210211
<!-- Please visit https://www.dynamsoft.com/CustomerPortal/Portal/TrialLicense.aspx to get a trial license. -->
211-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.4.0-v1/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
212+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.5.0-v0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
212213
<script>
213214
let scanner = null;
214215
(async()=>{
@@ -267,13 +268,13 @@ Now, take a look at the sample code. You can find that there is nothing but two
267268
* The following script includes the core library in the application via a [jsDelivr](https://www.jsdelivr.com/) CDN
268269

269270
```javascript
270-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.4.0-v1/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
271+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.5.0-v0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
271272
```
272273

273274
The same can be done with other CDNs like `unpkg`
274275

275276
```javascript
276-
<script src="https://unpkg.com/dynamsoft-javascript-barcode@7.4.0-v1/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
277+
<script src="https://unpkg.com/dynamsoft-javascript-barcode@7.5.0-v0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
277278
```
278279

279280
> **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.
@@ -420,7 +421,7 @@ The following introduces the 3rd way. Check out the following code on how it's d
420421
<video class="dbrScanner-video" playsinline="true"></video>
421422
</div>
422423
<!-- Please visit https://www.dynamsoft.com/CustomerPortal/Portal/TrialLicense.aspx to get a trial license. -->
423-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.4.0-v1/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
424+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.5.0-v0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
424425
<script>
425426
let scanner = null;
426427
(async()=>{
@@ -648,6 +649,10 @@ If the resource files like the `wasm` files are not placed in the same directory
648649
Dynamsoft.BarcodeReader.engineResourcePath = "url/to/the/dir/";
649650
```
650651

652+
## Known Issues
653+
654+
* We use `webgl` in `BarcodeScannner` by default. If you need a specific resolution like `800 * 600` and find the barcode area is wrong, you can turn `webgl` off by setting `scanner._bUseWebgl = false;`.
655+
651656
## Changelog
652657

653658
https://www.dynamsoft.com/Products/Dynamic-Barcode-Reader-News.aspx#javascript
@@ -659,7 +664,7 @@ https://www.dynamsoft.com/Products/Dynamic-Barcode-Reader-News.aspx#javascript
659664
* If you are using a CDN, be sure to change the version number in the URL like this
660665

661666
```javascript
662-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.4.0-v1/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
667+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.5.0-v0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
663668
```
664669

665670
* If you have deployed the library files on your own server, you'll need to replace the old files with the new version. Download the latest version [here](https://www.dynamsoft.com/Downloads/Dynamic-Barcode-Reader-Download.aspx).
@@ -712,7 +717,7 @@ It takes several steps to activate a purchased license, the following steps assu
712717

713718
```html
714719
<!-- Please visit https://www.dynamsoft.com/CustomerPortal/Portal/TrialLicense.aspx to get a trial license. -->
715-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.4.0-v1/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
720+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.5.0-v0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
716721
```
717722

718723
To use your activated key, you simply need to replace `PRODUCT-KEYS` with it.

dist/dbr.browser.mjs

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)