Skip to content

Commit

Permalink
mute audio in webcam feed video element to stop mic feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
becky-gilbert committed Aug 22, 2024
1 parent 6984158 commit 74a98a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/record/src/recorder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default class Recorder {
) {
const webcam_element_id = "lookit-jspsych-webcam";
element.innerHTML = `
<video autoplay playsinline id="${webcam_element_id}" width="${
<video autoplay playsinline muted id="${webcam_element_id}" width="${
width ? width : "100%"
}" height="${height ? height : "auto"}" ></video>
`;
Expand Down

0 comments on commit 74a98a4

Please sign in to comment.