Hello @Josuke ,
Since jsPsych changed their plugin system for version 7, we have a new, specific pavlovia plugin for it.
It is available on the pavlovia.org server at this URL: https://pavlovia.org/lib/jspsych-7-pavlovia-2022.1.1.js
Version 7.1.2 of jsPsych is also now available on the server at this URL: https://pavlovia.org/lib/vendors/jspsych-7.1.2
I have also prepared an illustrative experiment, that showcases how to use the new plugin. You will find it here: Alain Pitiot / jsPsych7_simple_reaction_time · GitLab
It is jsPsych’s simple reaction time experiment with the pavlovia plugin added on top.
You’ll note that it is very, very similar in spirit to the previous approach: one simply needs to add the relevant scripts in the header (or in the body) and add a pavlovia_init and pavlovia_finish at the start and end of the timeline, respectively.
I took the opportunity offered by the redesign to remove the dependence on jQuery.
I would strongly encourage you to test thoroughly before deploying your experiment, as the plugin is relatively new. And do not hesitate to contact me, should you have any questions or issues.
Best wishes,
Alain