A stimulus that plays a video stored in any video file format supported by the operating system.
Note: To preserve the video’s aspect ratio on screen, x_size and y_size must be equal. When drawn, the larger dimension spans the full specified size, while the smaller dimension is scaled to maintain the aspect ratio.
Filesystem path to the video file
Output audio volume (floating-point value between 0 and 1, where 0 is muted and 1 is full system volume)
YES, the video will repeat indefinitely (or until Stop Dynamic Stimulus is invoked)
Number of times to repeat the video. Note that the video will always play at least once, even if this value is less than one.
If loop is
YES, this parameter is ignored.
Variable that will be set to true after the video ends. If repeats is greater than 1, the variable will be set only once, after all repetitions are complete. If loop is
YES, the variable will never be set.
By default, the alpha multiplier controls the transparency of the
1.0 is fully opaque, while
0.0 is fully tranparent.
Source blending factor.
The parameters source_blend_factor, dest_blend_factor, source_alpha_blend_factor, and dest_alpha_blend_factor provide detailed control over how the color components and alpha multiplier of each fragment of the stimulus (the “source”) are combined with the color and alpha values already present in the framebuffer (the “destination”), which in turn result from blending the stimulus display background with any stimuli drawn beneath the source stimulus. These parameters correspond directly to the four arguments of the OpenGL function glBlendFuncSeparate. Please refer to that function’s reference page for explanations of the different blend factor options.
Note: Irrespective of the blend factors used, the blend equation
Destination blending factor. Accepts the same values as source_blend_factor.
Source alpha blending factor. Accepts the same values as source_blend_factor.
If omitted, the value of source_blend_factor is used.
Destination alpha blending factor. Accepts the same values as source_blend_factor.
If omitted, the value of dest_blend_factor is used.
Horizontal size (degrees).
Vertical size (degrees).
Horizontal center position (degrees)
Vertical center position (degrees)
Controls when the stimulus is loaded. If
no, the stimulus is loaded at experiment load time. If
yes, the stimulus is loaded the first time it is queued. If
explicit, the stimulus must be loaded explictly with Load Stimulus.
YES, the stimulus will start playing automatically (as if by an implicit Play Dynamic Stimulus action) after it has been queued and Update Stimulus Display has been invoked. It will also stop playing automatically (as if by an implicit Stop Dynamic Stimulus action) after it has been dequeued and Update Stimulus Display is invoked.
Allowed at top level: