Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webcam display extension #39

Open
1 of 2 tasks
becky-gilbert opened this issue Jul 31, 2024 · 1 comment
Open
1 of 2 tasks

Webcam display extension #39

becky-gilbert opened this issue Jul 31, 2024 · 1 comment
Assignees

Comments

@becky-gilbert
Copy link
Contributor

becky-gilbert commented Jul 31, 2024

TL;DR

We need to decide how to add the webcam feed into various plugins, including whether/how to make it available as an option for researchers (a la the showWebcam parameter in various EFP frames).

Summary

Our record package does not currently support displaying the webcam feed.

In EFP, there are certain frames that always show the webcam feed to the participant:

  • video-consent
  • video-config
  • video-config-quality
  • webcam-display
  • observation (researchers can initially show/hide the webcam feed, but it is always on the page and participants can click a button to show it)

There are also some frames that allow the researcher to optionally show the webcam feed to the participant:

  • video-assent
  • instructions

For some of the frames in the list above, it will make sense for us to create a custom plugin that does the same thing as the EFP frame (e.g. video-consent, video-config). In these cases, it will be easy to incorporate the webcam display and add any necessary parameters to the plugin.

However, in other cases, it would be better if we could avoid re-creating existing jsPsych plugins that could be used for most of the same functionality, and just provide an extension that allows researchers to add the webcam feed to a non-CHS plugin. One example of this is the instructions EFP frame, which could easily reproduce with the existing jsPsych instructions plugin.

Questions

  1. Is it ok to have these two different methods that result in the webcam feed appearing on the page (default/parameterized in plugin, and using an extension)?
  2. What is the best/easiest way to allow researchers to insert a webcam into a non-CHS plugin and control its size/location? (BECKY TO ADD MORE DETAILS ABOUT OPTIONS)

To do

@becky-gilbert becky-gilbert self-assigned this Jul 31, 2024
@mekline
Copy link

mekline commented Nov 5, 2024

Update: waiting on generalized version for future sprint!

@becky-gilbert becky-gilbert changed the title Webcam display Webcam display extension Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants