sumitshinde-84 / node-red-dashboard-2-ui-webcam

The ui-webcam node for Node-RED Dashboard 2.0 enables users to integrate webcam functionality into Node-RED Dashboard 2.0. It allows users to capture images, select different cameras, and control webcam features through an intuitive user interface within the Node-RED Dashboard.
https://flows.nodered.org/node/@sumit_shinde_84/node-red-dashboard-2-ui-webcam
Apache License 2.0
0 stars 3 forks source link

Webcam UI is not shwon when httpAdminRoot is false #15

Open kazuhitoyokoi opened 6 months ago

kazuhitoyokoi commented 6 months ago

When the Node-RED flow editor is disabled with node-red -D httpAdminRoot=false, I found that there is no webcam UI on the Dashboard UI.

Screenshot 2024-04-20 at 19 27 19

The reason for this problem is that Dashboard UI cannot access ui-webcam.umd.js under /resources path. I thought that /resources path is for flow editor, not dashboard UI.

kazuhitoyokoi commented 6 months ago

I also found the official document of this design. https://github.com/FlowFuse/node-red-dashboard/blob/v1.7.1/docs/contributing/widgets/third-party.md

Screenshot 2024-04-20 at 20 15 17
sumitshinde-84 commented 6 months ago

Thanks @kazuhitoyokoi for submitting the issue. I will take a look at it. I noticed that you have been contributing to the Node-RED community diligently for many years. You are welcome to submit a pull request to this repository, as this widget needs more features and improvements.