label.textContent="Unable to load webcam, please ensure access is granted:\n"+error.message;
if(window.isSecureContext){
label.textContent="Unable to load webcam, please ensure access is granted:\n"+error.message;
}else{
label.textContent="Unable to load webcam. A secure context is required, if you are not accessing ComfyUI on localhost (127.0.0.1) you will have to enable TLS (https)\n\n"+error.message;