Update App.controller.js (#1782)

No display camera window in demo Z2UI5_CL_DEMO_APP_306. so modify App.controller.js of line 903/914

Co-authored-by: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
This commit is contained in:
feng1976 2025-02-23 08:29:11 +08:00 committed by GitHub
parent d2b105f1e8
commit 8357466c22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -900,7 +900,7 @@ sap.ui.define("z2ui5/CameraPicture", [
verticalScrolling: false,
stretch: true,
content: [
new HTML({
new sap.ui.core.HTML({
id: this.getId() + 'PictureContainer',
content: '<video width="600px" height="400px" autoplay="true" id="zvideo">'
}),
@ -911,7 +911,7 @@ sap.ui.define("z2ui5/CameraPicture", [
this._oScanDialog.close();
}.bind(this)
}),
new HTML({
new sap.ui.core.HTML({
content: '<canvas hidden id="zcanvas" style="overflow:auto"></canvas>'
}),
],