Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kschuler committed Dec 4, 2024
1 parent b2e9fd0 commit 769083b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion task.html
Original file line number Diff line number Diff line change
Expand Up @@ -425,9 +425,18 @@
show_done_button: true,
done_button_label: 'Next',
save_video_url:true,
on_finish: function(){
on_finish: function(data){
let proportion_complete = jsPsych.getProgressBarCompleted();
jsPsych.setProgressBar(proportion_complete += 0.01)
data.selected_condition = CONDITION;
data.random_list = RANDOM_LIST;
},
data: {
sound1: jsPsych.timelineVariable('sound1'),
sound2: jsPsych.timelineVariable('sound2'),
sound3: jsPsych.timelineVariable('sound3'),
category1: jsPsych.timelineVariable('category'),
phase: "test",
}
},
saveRecording,
Expand Down

0 comments on commit 769083b

Please sign in to comment.