Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit fc5c53f

Browse files
authored
Merge pull request #2 from Dynamsoft/_dev
v2.3.2
2 parents 1633d6d + 487cda4 commit fc5c53f

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ The simplest way to include the library is to use either the [jsDelivr](https://
3131
* jsDelivr
3232

3333
```html
34-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@2.3.1/dist/dce.js"></script>
34+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@2.3.2/dist/dce.js"></script>
3535
```
3636

3737
* UNPKG
3838

3939
```html
40-
<script src="https://unpkg.com/dynamsoft-camera-enhancer@2.3.1/dist/dce.js"></script>
40+
<script src="https://unpkg.com/dynamsoft-camera-enhancer@2.3.2/dist/dce.js"></script>
4141
```
4242

4343
#### Host the library yourself (recommended)
@@ -65,7 +65,7 @@ $ npm install dynamsoft-camera-enhancer --save
6565
Depending on how you downloaded the library and where you put it. You can typically include it like this:
6666

6767
```html
68-
<script src="/dce-js-2.3.1/dist/dce.js"></script>
68+
<script src="/dce-js-2.3.2/dist/dce.js"></script>
6969

7070
or
7171

@@ -150,7 +150,7 @@ Dynamsoft.DCE.CameraEnhancer.defaultUIElementURL = "THE-URL-TO-THE-FILE";
150150
</script>
151151
```
152152

153-
> The inner div element must have the class `dce-video-container`, and the CSS property `position` must be `relative` or `absolute`.
153+
> The video element will be created and appended to the DIV element with the class `dce-video-container`, make sure the class name is the same. Besides, the CSS property `position` of the DIV element must be either `relative`, `absolute`, `fixed`, or `sticky`.
154154
155155
+ Add the camera list and resolution list. If the class names for these lists match the default ones, `dce-sel-camera` and `dce-sel-resolution` , the library will automatically populate the lists and handle the camera/resolution switching.
156156

dist/dce.browser.esm.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dce.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dce.mjs

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

dist/types/class/cameraenhancer.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default class CameraEnhancer {
2727
private static _engineResourcePath?;
2828
/**
2929
* ```js
30-
* Dynamsoft.DCE.CameraEnhancer.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@2.3.1/dist/";
30+
* Dynamsoft.DCE.CameraEnhancer.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@2.3.2/dist/";
3131
* ```
3232
*/
3333
static set engineResourcePath(value: string);
@@ -50,7 +50,7 @@ export default class CameraEnhancer {
5050
* The url of the default UI.
5151
* Can only be changed before `createInstance`.
5252
* ```js
53-
* Dynamsoft.DCE.CameraEnhancer.defaultUIElementURL = "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@2.3.1/dist/dce.ui.html";
53+
* Dynamsoft.DCE.CameraEnhancer.defaultUIElementURL = "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@2.3.2/dist/dce.ui.html";
5454
* let pEnhancer = null;
5555
* (async()=>{
5656
* let enhancer = await (pEnhancer = pEnhancer || Dynamsoft.DCE.CameraEnhancer.createInstance());
@@ -566,7 +566,7 @@ export default class CameraEnhancer {
566566
*/
567567
setResolution(width: number | number[], height: number): Promise<PlayCallbackInfo>;
568568
/**
569-
* Return available resolutions among 160*120, 320*240, 480*360, 640*480, 800*600, 960*720, 1280*720, 1920*1080, 3840*2160.
569+
* Return available resolutions among 160*120, 320*240, 480*360, 640*480, 800*600, 960*720, 1280*720, 1920*1080, 2560*1440, 3840*2160.
570570
* @ignore
571571
*/
572572
getResolutions(forceGet?: boolean): Promise<Array<Array<number>>>;

doc/Samples.url

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[InternetShortcut]
2-
URL=https://github.com/Dynamsoft/camera-enhancer-javascript-samples/tree/v2.3.1
2+
URL=https://github.com/Dynamsoft/camera-enhancer-javascript-samples/tree/v2.3.2

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dynamsoft-camera-enhancer",
3-
"version": "2.3.1",
3+
"version": "2.3.2",
44
"description": "Allow your website to easily control cameras on desktop and mobile devices.",
55
"private": false,
66
"homepage": "https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/?ver=latest",

0 commit comments

Comments
 (0)