v3.0.0
Backwards-incompatible change:
-
On infant-controlled frames (exp-lookit-video-infant-control, exp-lookit-images-audio-infant-control), the
lookawayTone
now needs to be either (a) a list of source/type objects saying where to find an audio file parameter is or (b) a string relative to thebaseDir
. This lets you use custom audio for the lookawayTone, but you will need to make the following changes:- If using lookawayTone
'none'
, change to''
. - If using lookawayTone
'noise'
or'tone'
, either copy those files from https://www.mit.edu/~kimscott/placeholderstimuli/ to your own hosting location (baseDir
) OR set lookawayTone to[{"src": "https://www.mit.edu/~kimscott/placeholderstimuli/mp3/noise.mp3", "type": "audio/mp3"}]
(similarly for 'tone').
- If using lookawayTone
Minor changes
- Bring up exit dialogue upon pressing Esc rather than just F1/ctrl-X (you can now instruct parents to press Escape to exit the study early, which is probably more intuitive than F1)
- Dependency updates for security
- Add Dutch translations of frame text (you can now set
language: 'nl'
on any frame) - exp-lookit-stimuli-preview: Add
requirePreview
option; if set totrue
then the participant doesn't have the option to skip the preview - exp-lookit-instruction-video: Center images in transcript of and allow to be at most 75% of transcript width
- Add integration test for one frame as an example
Bug fixes
- Bugfix: camera couldn't be set up on a frame immediately following a video-assent frame that was skipped due to the child's age
- Bugfix: pop_random example function now actually returns a random element (+ tests)