Commit f1ec97e2 by Иван Кубота

hide checkbox if no webcam

parent 6ae135e8
......@@ -311,6 +311,7 @@ var videoEl = inputVideo;
const videoEl = inputVideo
videoEl.srcObject = stream
}catch(e){
cb.style.display = 'none';
console.error('no media device')
}
f()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment