diff --git a/public/libraries/webcam-recording/config.json b/public/libraries/webcam-recording/config.json new file mode 100644 index 0000000000..59da888745 --- /dev/null +++ b/public/libraries/webcam-recording/config.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://raw.githubusercontent.com/revisit-studies/study/v2.4.1/src/parser/LibraryConfigSchema.json", + "description": "This is a library for getting webcam recording permissions and starting webcam recording.", + "components": { + "webcamRecordingPermission": { + "description": "Get permission to start webcam recording", + "type": "react-component", + "path": "libraries/webcam-recording/assets/WebcamRecording.tsx", + "nextButtonLocation": "belowStimulus", + "nextButtonText": "Continue", + "recordAudio": false, + "response": [{ + "hidden": true, + "type": "reactive", + "id": "webcamRecordingPermission", + "prompt": "Webcam recording enabled" + }] + } + }, + "sequences": {} +} diff --git a/public/library-screen-recording/assets/screen-recording-introduction.md b/public/library-screen-recording/assets/screen-recording-introduction.md index 7f159cc397..f96c44d9cf 100644 --- a/public/library-screen-recording/assets/screen-recording-introduction.md +++ b/public/library-screen-recording/assets/screen-recording-introduction.md @@ -1,11 +1,10 @@ -# Screen Recording - +# Screen And Webcam Recording This is a demo of the library `screen-recording`. -This is a required library for screen recording. It provides a component that request user permission for screen and microphone permissions. Then, it starts screen capture until the end of the study. +This library provides a component that can request screen, webcam, and microphone permissions together. In this example, screen and webcam capture are both enabled and continue until the end of the study. ## Available Components @@ -16,4 +15,3 @@ This is a required library for screen recording. It provides a component that re None - diff --git a/public/library-screen-recording/assets/screen-recording-page.md b/public/library-screen-recording/assets/screen-recording-page.md index 6b429fc838..da5d66bdc9 100644 --- a/public/library-screen-recording/assets/screen-recording-page.md +++ b/public/library-screen-recording/assets/screen-recording-page.md @@ -1,9 +1,8 @@ # Demo Page -Any stimulus that follows the `screenRecordingPermission` page can be recorded. +Any stimulus that follows the `screenRecordingPermission` page can capture both screen and webcam video. Explore the webpage in the iframe below, then proceed to the next page.