diff --git a/webapp/src/greenscreen.tsx b/webapp/src/greenscreen.tsx index 3f61d0eccf7..17db9076358 100644 --- a/webapp/src/greenscreen.tsx +++ b/webapp/src/greenscreen.tsx @@ -19,7 +19,8 @@ function isMediaDevicesSupported(): boolean { return typeof navigator !== undefined && !!navigator.mediaDevices && !!navigator.mediaDevices.enumerateDevices - && !!navigator.mediaDevices.getUserMedia; + && !!navigator.mediaDevices.getUserMedia + && !(pxt.BrowserUtils.isPxtElectron() && pxt.BrowserUtils.isMac()); } export class WebCam extends data.Component {