Skip to content

Commit

Permalink
disable again on mac, as new mac versions require explicit permissions (
Browse files Browse the repository at this point in the history
  • Loading branch information
jwunderl committed Sep 27, 2024
1 parent 2688c88 commit d904e4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapp/src/greenscreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<WebCamProps, WebCamState> {
Expand Down

0 comments on commit d904e4b

Please sign in to comment.