|
| 1 | +--- |
| 2 | +layout: default-layout |
| 3 | +title: How to resolve the expected magic word error that occurs when using DBR-JS? |
| 4 | +keywords: Dynamsoft Barcode Reader, FAQ, tech basic, Magic Word, MIME |
| 5 | +description: How to resolve the expected magic word error that occurs when using DBR-JS? |
| 6 | +needAutoGenerateSidebar: false |
| 7 | +--- |
| 8 | + |
| 9 | +## What's new in version v11.0.3000? |
| 10 | + |
| 11 | +- Support for debug mode using `?debug=true` |
| 12 | +- Custom template upload feature |
| 13 | +- Video frame saving during debugging |
| 14 | +- Improved UI with: |
| 15 | + - Single/Multiple barcode toggle |
| 16 | + - Scan Mode selection (Speed, Balance, Coverage) |
| 17 | + - Barcode Color Options (Inverted, Normal, Both) |
| 18 | + |
| 19 | +--- |
| 20 | + |
| 21 | +## enable debug mode |
| 22 | + |
| 23 | +Append `?debug=true` to the demo URL. |
| 24 | +Example: https://demo.dynamsoft.com/barcode-reader-js/?debug=true |
| 25 | + |
| 26 | +In debug mode: |
| 27 | + |
| 28 | +- You can upload **custom templates** compatible with v11.0.3000 |
| 29 | +- You can **save video frames** |
| 30 | + |
| 31 | +--- |
| 32 | + |
| 33 | +<div align="left"> |
| 34 | + <p><img src="../assets/advanced-settings.jpg" width="40%" alt="advanced settings"></p> |
| 35 | +</div> |
| 36 | + |
| 37 | +## upload a custom template |
| 38 | + |
| 39 | +1. Enable debug mode with `?debug=true` |
| 40 | +2. Use the **custom template upload** button (bottom-left of the UI) |
| 41 | +3. Upload a compatible `.json` template for v11.0.3000 |
| 42 | + |
| 43 | +**Note:** Once a template is uploaded, changing other settings will have no effect until the template is cleared. |
| 44 | + |
| 45 | +--- |
| 46 | + |
| 47 | +## save video frames |
| 48 | + |
| 49 | +Yes — in **debug mode**, you can save video frames for testing and analysis. |
| 50 | + |
| 51 | +--- |
| 52 | + |
| 53 | +## 🔗 Useful Links |
| 54 | + |
| 55 | +- [Demo Page](https://demo.dynamsoft.com/barcode-reader-js/) |
| 56 | +- [Documentation](https://www.dynamsoft.com/barcode-reader/docs/web/) |
| 57 | +- [Support](https://www.dynamsoft.com/Support/) |
| 58 | + |
| 59 | +--- |
0 commit comments