lookit / ember-lookit-frameplayer

Ember app with experiment frames and a frame player to run browser-based experiments
MIT License
5 stars 19 forks source link

video-assent webcam feed not displaying #398

Open becky-gilbert opened 2 days ago

becky-gilbert commented 2 days ago

Summary

We recently made some changes to the video consent/assent frames so that they wait for the recorder to be ready before they start recording (#388). This update broke the webcam display in the video-assent frame (i.e. using "showWebcam": true in the pages objects). It appears as though the recorder is not being installed when the frame starts.

Reproducible Example

"video-assent": {
    "kind": "exp-lookit-video-assent",
    "pages": [
        {
            "showWebcam": true,
            "textBlocks": [
                {
                    "text": "During the study, your webcam will record a video of you. We will watch this video later to see how much you love cats."
                }
            ]
        }
    ],
    "participationQuestion": "Do you want to participate in this study?",
    "minimumYearsToAssent": 0
},

The webcam feed should display with the page content, but it does not:

Screenshot 2024-06-28 at 12 57 16 PM