Skip to content
Discussion options

You must be logged in to vote

Hi @rbruno1, do you have your own custom plugin called "movie-keyboard-response", or do you want to use jsPsych's "video-keyboard-response" plugin? If it's the latter, you should change the plugin name in your movie_trial object, and use square brackets around the movie file name, because the stimulus parameter should be an array.

var movie_trial = {
  type: 'video-keyboard-response',
  stimulus: ['Banjo2Bandage1.mp4'],
  choices: ['f', 'j'],
}

var timeline = [movie_trial]

jsPsych.init({
  timeline: timeline
})

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rbruno1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants