From f9cc935b81fedc813556c63b5c808b9b0370d4fd Mon Sep 17 00:00:00 2001 From: mythicaleia <75142410+mythicaleia@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:54:01 -0800 Subject: [PATCH] Update ui-customization-js.md including direct links to ui.html files. --- programming/features/ui-customization-js.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/programming/features/ui-customization-js.md b/programming/features/ui-customization-js.md index c8767ce6..c03d7d04 100644 --- a/programming/features/ui-customization-js.md +++ b/programming/features/ui-customization-js.md @@ -14,7 +14,8 @@ When you want to customize the UI, we can leverage the extensive customization f ## Use the built-in UI -DCE includes several pre-defined UIs in the `DCE-LIB-PACKAGE/dist/xxxx.ui.html` (or `node_modules/dynamsoft-camera-enhancer/dist/xxxx.ui.html`). +DCE includes several pre-defined UIs in the `DCE-LIB-PACKAGE/dist/xxxx.ui.html` (or `node_modules/dynamsoft-camera-enhancer/dist/xxxx.ui.html`). +If you are using a CDN, please find [`dce.ui.html`](https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@latest/dist/dce.ui.html) and [`dce.mobile-native.ui.html`](https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@latest/dist/dce.mobile-native.ui.html). * `dce.ui.html`: The default UI used by CameraView.createInstance() for simple use cases. * `dce.mobile-native.ui.html`: A mobile-inspired UI with auto flash, suitable for most websites. Activate it with `CameraView.createInstance('@engineResourcePath/dce.mobile-native.ui.html')`. @@ -93,4 +94,4 @@ Next, add the camera and resolution list. If the classes match the default ones ``` -> Ensure the selected resolution is supported by the camera. If not, the closest supported resolution will be used. The `dce-opt-gotResolution` class shows the **actual resolution**. \ No newline at end of file +> Ensure the selected resolution is supported by the camera. If not, the closest supported resolution will be used. The `dce-opt-gotResolution` class shows the **actual resolution**.