Skip to content

Commit 11fc6c8

Browse files
authored
Merge pull request #428 from yqz5625/main
Update FAQ
2 parents 5d15d4e + 86eda58 commit 11fc6c8

File tree

3 files changed

+49
-45
lines changed

3 files changed

+49
-45
lines changed

_includes/sidelist-programming/programming-javascript.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,11 +1472,6 @@
14721472
>How to use the JavaScript SDK in offline mode?</a
14731473
>
14741474
</li>
1475-
<li>
1476-
<a href="{{ site.js }}faq/server-requirements-for-dbr-js-deployment.html"
1477-
>What are the server requirements for Dbr JS deployment?</a
1478-
>
1479-
</li>
14801475
<li>
14811476
<a href="{{ site.js }}faq/pros-and-cons-of-cdn.html"
14821477
>What are the pros and cons of using the CDN?</a

programming/javascript/faq/index.md

Lines changed: 37 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -13,79 +13,77 @@ noTitleIndex: true
1313

1414
2. [How to use the JavaScript SDK in offline mode?](javascript-sdk-offline-mode-use.html)
1515

16-
3. [What are the server requirements for Dbr JS deployment?](server-requirements-for-dbr-js-deployment.html)
16+
3. [What are the pros and cons of using the CDN?](pros-and-cons-of-cdn.html)
1717

18-
4. [What are the pros and cons of using the CDN?](pros-and-cons-of-cdn.html)
18+
4. [What are the differences between the compact edition and the full edition?](differences-between-full-and-compact-editions.html)
1919

20-
5. [What are the differences between the compact edition and the full edition?](differences-between-full-and-compact-editions.html)
20+
5. [Is HTTPS absolutely required?](is-https-required.html)
2121

22-
6. [Is HTTPS absolutely required?](is-https-required.html)
22+
6. [When to use onFrameRead and when to use onUniqueRead?](use-of-onFrameRead-and-onUnduplicateRead.html)
2323

24-
7. [When to use onFrameRead and when to use onUniqueRead?](use-of-onFrameRead-and-onUnduplicateRead.html)
24+
7. [Do we have to call loadWasm proactively?](call-loadWasm-proactively.html)
2525

26-
8. [Do we have to call loadWasm proactively?](call-loadWasm-proactively.html)
26+
8. [What are the differences between updateScanSettings/updateVideoSettings/updateRuntimeSettings?](differences-between-updateScanSettings-updateVideoSettings-and-updateRuntimeSettings.html)
2727

28-
9. [What are the differences between updateScanSettings/updateVideoSettings/updateRuntimeSettings?](differences-between-updateScanSettings-updateVideoSettings-and-updateRuntimeSettings.html)
28+
9. [What are the different ways to customize the UI?](different-ways-to-customize-ui.html)
2929

30-
10. [What are the different ways to customize the UI?](different-ways-to-customize-ui.html)
30+
10. [How to get the logs for the JavaScript SDK?](get-sdk-logs.html)
3131

32-
11. [How to get the logs for the JavaScript SDK?](get-sdk-logs.html)
32+
11. [How do you upgrade to a newer version of the SDK?](upgrade-old-to-new.html)
3333

34-
12. [How do you upgrade to a newer version of the SDK?](upgrade-old-to-new.html)
34+
12. [How to change the domain binding of your product key?](change-domain-binding-of-product-key.html)
3535

36-
13. [How to change the domain binding of your product key?](change-domain-binding-of-product-key.html)
36+
13. [When is singleFrameMode enabled?](when-singleFrameMode-is-enabled.html)
3737

38-
14. [When is singleFrameMode enabled?](when-singleFrameMode-is-enabled.html)
38+
14. [How to get intermediate result images?](get-intermediate-result-images.html)
3939

40-
15. [How to get intermediate result images?](get-intermediate-result-images.html)
40+
15. [How to read an inverted image?](read-inverted-image.html)
4141

42-
16. [How to read an inverted image?](read-inverted-image.html)
42+
16. [How to read barcodes from existing files?](read-from-existing-files.html)
4343

44-
17. [How to read barcodes from existing files?](read-from-existing-files.html)
44+
17. [What file/image formats are supported when reading barcodes from files in local memory?](formats-supported-for-existing-files.html)
4545

46-
18. [What file/image formats are supported when reading barcodes from files in local memory?](formats-supported-for-existing-files.html)
46+
18. [How to scan the barcode on a US Driver’s License and get the first name, last name, DOB, etc.?](scan-US-drivers-license.html)
4747

48-
19. [How to scan the barcode on a US Driver’s License and get the first name, last name, DOB, etc.?](scan-US-drivers-license.html)
48+
19. [How to add/remove a "beep" sound once a barcode is found?](add-remove-beep-sound.html)
4949

50-
20. [How to add/remove a "beep" sound once a barcode is found?](add-remove-beep-sound.html)
50+
20. [How do I create a NodeJS application using the SDK?](nodejs-implementation.html)
5151

52-
21. [How do I create a NodeJS application using the SDK?](nodejs-implementation.html)
52+
21. [How to check the version of the JavaScript SDK I am currently using?](check-current-version.html)
5353

54-
22. [How to check the version of the JavaScript SDK I am currently using?](check-current-version.html)
54+
22. [How to stop the camera stream from opening right away after DBR-JS demo is loaded? How can you enable the camera on the click of a button?](stop-camera-to-open-right-away.html)
5555

56-
23. [How to stop the camera stream from opening right away after DBR-JS demo is loaded? How can you enable the camera on the click of a button?](stop-camera-to-open-right-away.html)
56+
23. [What is the difference between the BarcodeReader class and the BarcodeScanner class? Can they be used interchangeably?](difference-between-barcodeReader-and-barcodeScanner.html)
5757

58-
24. [What is the difference between the BarcodeReader class and the BarcodeScanner class? Can they be used interchangeably?](difference-between-barcodeReader-and-barcodeScanner.html)
58+
24. [Why are newline characters not being rendered when displaying the barcode results in a textbox?](newline-character-not-being-rendered.html)
5959

60-
25. [Why are newline characters not being rendered when displaying the barcode results in a textbox?](newline-character-not-being-rendered.html)
60+
25. [How to resolve the expected magic word error that occurs when using the JavaScript SDK?](resolve-magic-word.html)
6161

62-
26. [How to resolve the expected magic word error that occurs when using the JavaScript SDK?](resolve-magic-word.html)
62+
26. [What are the general troubleshooting steps if an image fails to decode with the JavaScript SDK?](general-troubleshooting-steps-for-decode-failure.html)
6363

64-
27. [What are the general troubleshooting steps if an image fails to decode with the JavaScript SDK?](general-troubleshooting-steps-for-decode-failure.html)
64+
27. [What are the differences between the 'speed', 'coverage', 'balance', and 'single' runtime templates?](difference-between-bestspeed-and-bestcoverage.html)
6565

66-
28. [What are the differences between the 'speed', 'coverage', 'balance', and 'single' runtime templates?](difference-between-bestspeed-and-bestcoverage.html)
66+
28. [How to avoid incorrect barcode results?](avoid-incorrect-barcode-results.html)
6767

68-
29. [How to avoid incorrect barcode results?](avoid-incorrect-barcode-results.html)
68+
29. [How does license tracking work with the three standard licensing options - Per Scan, Per Device, Per Concurrent Device?](how-license-tracking-works.html)
6969

70-
30. [How does license tracking work with the three standard licensing options - Per Scan, Per Device, Per Concurrent Device?](how-license-tracking-works.html)
70+
30. [When is a new license spot taken when using a per-device licensing model?](new-license-required-per-device-licensing.html)
7171

72-
31. [When is a new license spot taken when using a per-device licensing model?](new-license-required-per-device-licensing.html)
72+
31. [How to get rid of the delay when opening the camera?](delay-when-open-camera.html)
7373

74-
32. [How to get rid of the delay when opening the camera?](delay-when-open-camera.html)
74+
32. [How can I hide the laser bar and Dynamsoft message in the default UI of the BarcodeScanner?](hide-laser-message-ui.html)
7575

76-
33. [How can I hide the laser bar and Dynamsoft message in the default UI of the BarcodeScanner?](hide-laser-message-ui.html)
76+
33. [Why is the Javascript SDK not recognizing any barcodes on iOS 16.4?](ios-16-incompatible.html)
7777

78-
34. [Why is the Javascript SDK not recognizing any barcodes on iOS 16.4?](ios-16-incompatible.html)
78+
34. [How to check the camera permissions programmatically in Dynamsoft Barcode Reader JavaScript SDK?](check-camera.html)
7979

80-
35. [How to check the camera permissions programmatically in Dynamsoft Barcode Reader JavaScript SDK?](check-camera.html)
80+
35. [How do I resolve the issue of the Barcode Reader not recognizing any barcodes via video in iOS 16.7 or 17?](ios-17-readability.html)
8181

82-
36. [How do I resolve the issue of the Barcode Reader not recognizing any barcodes via video in iOS 16.7 or 17?](ios-17-readability.html)
82+
36. [How to Reduce Duplicate Scans and Optimize Scan Usage?](remove-duplicates.html)
8383

84-
37. [How to Reduce Duplicate Scans and Optimize Scan Usage?](remove-duplicates.html)
84+
37. [Why isn't my webcam reading the barcode on my driver's license or ID card?](webcam-support-dense.md)
8585

86-
38. [Why isn't my webcam reading the barcode on my driver's license or ID card?](webcam-support-dense.md)
86+
38. [What are the system requirements for running the latest version of Dynamsoft Barcode Reader?](system-requirement.md)
8787

88-
39. [What are the system requirements for running the latest version of Dynamsoft Barcode Reader?](system-requirement.md)
89-
90-
40. [How to Enable Specific Barcode Formats with Your License?](enable-supported-barcode-format.md
88+
39. [How to Enable Specific Barcode Formats with Your License?](enable-supported-barcode-format.md
9189
)

programming/javascript/faq/system-requirement.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@ The latest version of DBR requires the following features to work:
2222
> Some browsers like Chrome may grant the access for `http://127.0.0.1` and `http://localhost` or even for pages opened directly from the local disk (`file:///...`). This can be helpful for temporary development and test.
2323
2424
- Dynamsoft License requires a secure context to work.
25+
26+
- Set the MIME type for `.wasm` as `application/wasm`
27+
28+
The goal is to configure your server to send the correct Content-Type header for the wasm file so that it is processed correctly by the browser.
29+
30+
Different types of webservers are configured differently, for example:
31+
32+
+ <a target="_blank" href="https://developer.mozilla.org/en-US/docs/Learn/Server-side/Apache_Configuration_htaccess#media_types_and_character_encodings" title="Apache">Apache</a>
33+
+ <a target="_blank" href="https://docs.microsoft.com/en-us/iis/configuration/system.webserver/staticcontent/mimemap" title="IIS">IIS</a>
34+
+ <a target="_blank" href="https://www.nginx.com/resources/wiki/start/topics/examples/full/#mime-types" title="NGINX">NGINX</a>
35+
2536

2637
- `WebAssembly`, `Blob`, `URL`/`createObjectURL`, `Web Workers`
2738

@@ -46,4 +57,4 @@ The following table is a list of supported browsers based on the above requireme
4657

4758
<sup>1</sup> devices running iOS needs to be on iOS 14.3+ for camera video streaming to work in Chrome, Firefox or other Apps using webviews.
4859

49-
Apart from the browsers, the operating systems may impose some limitations of their own that could restrict the use of the SDK. Browser compatibility ultimately depends on whether the browser on that particular operating system supports the features listed above.
60+
Apart from the browsers, the operating systems may impose some limitations of their own that could restrict the use of the SDK. Browser compatibility ultimately depends on whether the browser on that particular operating system supports the features listed above.

0 commit comments

Comments
 (0)