mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-11 16:18:11 +00:00
4.7 KiB
4.7 KiB
@jspsych/plugin-video-slider-response
1.1.0
Minor Changes
- #2287
522aa2cd
Thanks @jodeleeuw! - Added support fordata-only
andvisual
simulation modes.
Patch Changes
- #2359
a8ab2eb8
Thanks @jodeleeuw! - Fixes theresponse_allowed_while_playing
parameter to use thestop
time of the video as the event that enables a response.
- #2359
d8b23ca3
Thanks @jodeleeuw! - Whenrequire_movement
istrue
, allow changes to the slider using the keyboard to enable the button (#1783).
- #2359
d2a8b4ab
Thanks @jodeleeuw! - Throw an error when thestimulus
parameter is not an array, see #1537 and #1530.
1.0.0
Major Changes
-
#2183
c8760b1
Thanks @jodeleeuw, @becky-gilbert, @bjoluc! - jsPsych is now fully modular, with individual NPM packages for the core library, plugins, and extensions.To support this change, we've made a number of breaking changes. We've added a guide for migrating from version 6.x to 7.x to the documentation, and updated the hello world tutorial with instructions for configuring jsPsych in three different ways. In addition to enabling package management, some of the benefits that this change provides include an improved developer experience with IntelliSense code hints, proper encapsulation of jsPsych so that multiple instances can be run on the same page, and easier integration with modern JavaScript tools like bundlers.
Minor Changes
- #2143
7fa8f26
Thanks @jodeleeuw! - Whenrequire_movement
is true a 'touchstart' event or a 'mousedown' event will now enable the button. This means that this parameter will work on mobile devices, and that the button will become enabled as soon as the paricipant interacts with the slider rather than after they click and release the slider.
- #2129
f37f64a
Thanks @jodeleeuw! - All duration measurements, including response times, are now rounded to the nearest millisecond. We changed this because the precision thatperformance.now()
generates is misleading in this context and removing the (often very long) decimal component of the measurement will save space in the data files.
Patch Changes
- #1533
7b16a1d
Thanks @becky-gilbert! - Fixed a bug that caused the trial to not end when thetrial_ends_after_video
parameter was set totrue
and the video ended at a specific time via thestop
parameter.