A video stimulus plays a video clip.
{
"type": "video",
"content": "video1.mp4"
}
video
{
"type": "video",
"content": "video1.mp4"
}
true
or false
true
false
nullifies the delay parameter.{
"type": "video",
"content": "video1.mp4",
"autoplay": false
}
true
, all subsequent stimuli and responses will not be displayed until this video clip finishes playingtrue
or false
true
{
"type": "video",
"content": "video1.mp4",
"barrier": false
}
In trials using the above stimulus code, other stimuli and responses will be displayed at the same time as the video.
{
"type": "video",
"content": "video1.mp4",
"barrier": true
}
In trials using the above stimulus code, the video will play before other stimuli and responses are displayed. This code is equivalent to code where the barrier property is not specified.
0.3
)0
, meaning no delay{
"type": "video",
"content": "video1.mp4",
"delay": 1.6
}
The above code introduces a delay of 1600 milliseconds.
"video0":{
"type": "video",
"content": "video0.mp4",
"delay": 0.3
"replayable": true
"width": "200px"
}
"video1": {
"type": "video",
"content": "video1.mp4",
"parent": "video0",
"width": "400px"
}
Here, the video1 stimulus inherits the delay and replayable properties of video0. video1 does not inherit the width property of video0 because the stimulus definition of video1 has its own specified width property.
true
, video stimuli will be greyed out once finished playing and a "replay" button will display, allowing participants to replay a video stimulus.true
or false
false
{
"type": "video",
"content": "video1.mp4",
"replayable": true
}
false
, the video will play in the background (which probably doesn't make sense in most cases)true
or false
true
{
"type": "video",
"content": "video1.mp4",
"visible": false
}
This code probably doesn't make much sense in most cases!
"200px"
){
"type": "video",
"content": "video1.mp4",
"width": "400px"
}