I am attempting to show a video file within a block which, after playing, automatically switches into the next block. The problem I am encountering is that if the spacebar is hit while the video is playing, it ends the video (even though playthrough is set?). If no keys are pressed, the video ends, but requires a space bar to move forward. I would like to have it so that the video plays no matter what is pressed and then automatically moves ahead.
<video amusedvideo> / items = ("Willow the Puppy.avi") / playthrough = true </video>
<trial amusedvideo> / frames = [1 = amusedvideo] </trial>
<block writeamusedvideo>/ preinstructions = (amused_prevideo)/trials=[1=amusedvideo]</block>
Thank you,
Lisa
Here's how you need to set up your elements to get this done:
<video myvideo>/ items = ("myvideo.avi")/ playthrough = true</video><trial mytrial>/ stimulusframes = [1=myvideo]/ validresponse = (noresponse)/ trialduration = 1</trial><block myblock>/ trials = [1=mytrial]</block>
Regards,
~Dave
"To understand recursion, you must first understand recursion." - Unknown Zen Master
I've added those components...and now the video won't play at all. It simply goes from the preinstructions page of the block, flashes a black screen for a second, and then moves to the beginning of the next block (another instructions page). Not sure what to do....
Odd -- works perfectly fine on my system. Tested with Inquisit 3.0.4.0 and above on Windows XP. My test script is attached for reference. You might want to toy around with slightly longer settings in '/ trialduration' and of course update your Inquisit installation in case you're running an outdated version.
#800
Indeed it was a version issue. My bad.
Thank you!!!