You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-18
Original file line number
Diff line number
Diff line change
@@ -34,19 +34,19 @@ In this guide, you will learn step by step on how to integrate the DBR-JS SDK in
34
34
**Popular Examples**
35
35
36
36
- Hello World - [Guide](#hello-world---simplest-implementation)\|[Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v9.6.42/1.hello-world/1.hello-world.html)
- WebView in Android and iOS - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v9.6.42/1.hello-world/14.read-video-webview)
- Fill A Form - [Guide](https://www.dynamsoft.com/barcode-reader/docs/core/programming/usecases/scan-barcodes-as-input.html?lang=js&&utm_source=npm)\|[Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v9.6.42/4.use-case/1.fill-a-form-with-barcode-reading.html)
- Fill A Form - [Guide](https://www.dynamsoft.com/barcode-reader/docs/core/programming/usecases/scan-barcodes-as-input.html?lang=js&&utm_source=github)\|[Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v9.6.42/4.use-case/1.fill-a-form-with-barcode-reading.html)
44
44
- Show result information on the video - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/4.use-case/3.show-result-texts-on-the-video.html)
45
-
- Debug Camera and Collect Video Frame - [Guide](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/debug.html?lang=js&&utm_source=npm)\|[Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v9.6.42/5.others/debug)
45
+
- Debug Camera and Collect Video Frame - [Guide](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/debug.html?lang=js&&utm_source=github)\|[Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v9.6.42/5.others/debug)
46
46
47
47
You can also:
48
48
49
-
- Try the Official Demo - [Run](https://demo.dynamsoft.com/barcode-reader-js/?ver=9.6.42&utm_source=npm)\|[Github](https://github.com/Dynamsoft/barcode-reader-javascript-demo/)
49
+
- Try the Official Demo - [Run](https://demo.dynamsoft.com/barcode-reader-js/?ver=9.6.42&utm_source=github)\|[Github](https://github.com/Dynamsoft/barcode-reader-javascript-demo/)
// Specifies a license, you can visit https://www.dynamsoft.com/customer/license/trialLicense?ver=9.6.42&utm_source=npm&product=dbr&package=js to get your own trial license good for 30 days.
72
+
// Specifies a license, you can visit https://www.dynamsoft.com/customer/license/trialLicense?ver=9.6.42&utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.
@@ -98,7 +98,7 @@ The complete code of the "Hello World" example is shown below
98
98
</a>
99
99
<!--
100
100
101
-
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/1.hello-world/1.hello-world.html?ver=9.6.42&utm_source=npm" title="Run in Dynamsoft" style="text-decoration:none;">
101
+
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/1.hello-world/1.hello-world.html?ver=9.6.42&utm_source=github" title="Run in Dynamsoft" style="text-decoration:none;">
102
102
<img src="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/svgs/solid/circle-play.svg" alt="Run in Dynamsoft" width="20" height="20" style="width:20px;height:20px;">
103
103
</a>-->
104
104
</p>
@@ -123,7 +123,7 @@ The complete code of the "Hello World" example is shown below
123
123
124
124
### Run the example
125
125
126
-
You can run the example deployed to <atarget="_blank"href="https://demo.dynamsoft.com/Samples/DBR/JS/1.hello-world/1.hello-world.html?ver=9.6.42&utm_source=npm"title="Run in Dynamsoft">the Dynamsoft Demo Server</a> or test it with <atarget="_blank"href="https://jsfiddle.net/DynamsoftTeam/pL4e7yrd/"title="Run in JSFiddle">JSFiddle code editor</a>. You will be asked to allow access to your camera, after which the video will be displayed on the page. After that, you can point the camera at a barcode to read it.
126
+
You can run the example deployed to <atarget="_blank"href="https://demo.dynamsoft.com/Samples/DBR/JS/1.hello-world/1.hello-world.html?ver=9.6.42&utm_source=github"title="Run in Dynamsoft">the Dynamsoft Demo Server</a> or test it with <atarget="_blank"href="https://jsfiddle.net/DynamsoftTeam/pL4e7yrd/"title="Run in JSFiddle">JSFiddle code editor</a>. You will be asked to allow access to your camera, after which the video will be displayed on the page. After that, you can point the camera at a barcode to read it.
127
127
128
128
When a barcode is decoded, you will see the result text pop up and the barcode location will be highlighted in the video feed.
129
129
@@ -140,7 +140,7 @@ To make sure your web application can access the camera, please configure your w
140
140
3. Tomcat: <atarget="_blank"href="https://dzone.com/articles/setting-ssl-tomcat-5-minutes"title="Setting Up SSL on Tomcat in 5 minutes">Setting Up SSL on Tomcat in 5 minutes</a>
If the test doesn't go as expected, you can [contact us](https://www.dynamsoft.com/contact/?ver=9.6.42&utm_source=npm).
143
+
If the test doesn't go as expected, you can [contact us](https://www.dynamsoft.com/contact/?ver=9.6.42&utm_source=github).
144
144
145
145
## Building your own page
146
146
@@ -170,7 +170,7 @@ Options to download the SDK:
170
170
171
171
- From the website
172
172
173
-
<atarget="_blank"href="https://www.dynamsoft.com/barcode-reader/downloads/?ver=9.6.42&utm_source=npm"title="Download the JavaScript Package">Download the JavaScript Package</a>
173
+
<atarget="_blank"href="https://www.dynamsoft.com/barcode-reader/downloads/?ver=9.6.42&utm_source=github"title="Download the JavaScript Package">Download the JavaScript Package</a>
174
174
175
175
- yarn
176
176
@@ -229,7 +229,7 @@ The SDK requires a license to work, use the API `license` to specify a license k
To test the SDK, you can request a 30-day trial license via the [customer portal](https://www.dynamsoft.com/customer/license/trialLicense?ver=9.6.42&utm_source=npm&product=dbr&package=js).
232
+
To test the SDK, you can request a 30-day trial license via the [customer portal](https://www.dynamsoft.com/customer/license/trialLicense?ver=9.6.42&utm_source=github&product=dbr&package=js).
233
233
234
234
> If you register a Dynamsoft account and download the SDK from the official website, Dynamsoft will automatically generate a 30-day trial license for you, and put the license key into all the samples attached to the SDK.
235
235
@@ -336,9 +336,9 @@ As you can see from the above code snippets, there are three types of configurat
336
336
337
337
Try in [JSFiddle](https://jsfiddle.net/DynamsoftTeam/f24h8c1m/).
338
338
339
-
See also [settings samples](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/parameter-settings.html?ver=9.6.42&utm_source=npm).
339
+
See also [settings samples](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/parameter-settings.html?ver=9.6.42&utm_source=github).
340
340
341
-
> Find the full list of the runtime settings <ahref="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/global-interfaces.html?ver=9.6.42&utm_source=npm&&ver=latest#runtimesettings"target="_blank"title="here">here</a>.
341
+
> Find the full list of the runtime settings <ahref="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/global-interfaces.html?ver=9.6.42&utm_source=github&&ver=latest#runtimesettings"target="_blank"title="here">here</a>.
342
342
343
343
### Customize the UI (optional)
344
344
@@ -457,7 +457,7 @@ DBR requires the following features to work:
457
457
458
458
-`MediaDevices`/`getUserMedia`
459
459
460
-
This API is only required for in-browser video streaming. If a browser does not support this API, the [Single Frame Mode](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/BarcodeScanner.html?ver=9.6.42&utm_source=npm#singleframemode) will be used automatically. If the API exists but doesn't work correctly, the Single Frame Mode can be used as an alternative way to access the camera.
460
+
This API is only required for in-browser video streaming. If a browser does not support this API, the [Single Frame Mode](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/BarcodeScanner.html?ver=9.6.42&utm_source=github#singleframemode) will be used automatically. If the API exists but doesn't work correctly, the Single Frame Mode can be used as an alternative way to access the camera.
461
461
462
462
-`getSettings`
463
463
@@ -482,7 +482,7 @@ Apart from the browsers, the operating systems may impose some limitations of th
482
482
483
483
## How to Upgrade
484
484
485
-
If you want to upgrade the SDK from an old version to a newer one, please see [how to upgrade](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/upgrade-guide/?ver=9.6.42&utm_source=npm).
485
+
If you want to upgrade the SDK from an old version to a newer one, please see [how to upgrade](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/upgrade-guide/?ver=9.6.42&utm_source=github).
0 commit comments