diff --git a/hello-world/es6.html b/hello-world/es6.html
index 01317f0c..76afac3a 100644
--- a/hello-world/es6.html
+++ b/hello-world/es6.html
@@ -1,96 +1,101 @@
+
+
+
+
+
+
+ Dynamsoft Barcode Reader Sample - Hello World for ES6 (Decode via Camera)
+
-
-
-
-
-
-
- Dynamsoft Barcode Reader Sample - Hello World for ES6 (Decode via Camera)
-
+
+ Hello World for ES6 (Decode via Camera)
+
+ Results:
+
+
-
-
-
\ No newline at end of file
+ // Open camera and start scanning single barcode.
+ await cameraEnhancer.open();
+ await cvRouter.startCapturing("ReadSingleBarcode");
+ } catch (ex) {
+ let errMsg = ex.message || ex;
+ console.error(errMsg);
+ alert(errMsg);
+ }
+ })();
+
+