This release patches a few bugs in 6.0.1 and adds two small features.
New features
- If preloading content fails, jsPsych will retry each failed file up to a specified number of times. The default behavior is 10 attempts. This can be overriden by setting
max_preload_attempts
injsPsych.init()
- Use of the WebAudio API is now optional. It can be disabled by setting
use_webaudio
injsPsych.init()
tofalse
. HTML5 Audio is now automatically used as a backup when WebAudio is not available.
Bug fixes
- The survey-text plugin now works when
rows
and/orcolumns
is unspecified. Thanks @VorontsovIE ! - jsPsych would attempt to create a new AudioContext on every jsPsych.init() call. This is now corrected and jsPsych uses a single AudioContext even if there are multiple inits on the same page.
- The
start
andstop
options for jspsych-video now work in Microsoft Edge. - The vertical scrollbar only appears if the experiment is too tall to fit in the window.
- Various errors in the documentation and tutorials were corrected. Thanks @hans and @yulkang !