Millisecond Online Community

Video presentation parameters not working...

rated by 0 users
This post has 4 Replies | 1 Follower

Top 500 Contributor
Posts 4
lwilliams Posted: 03-13-2010 11:43 PM

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

Top 10 Contributor
Posts 2,031

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

Top 500 Contributor
Posts 4

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....

Top 10 Contributor
Posts 2,031

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.

~Dave

#800

"To understand recursion, you must first understand recursion."  - Unknown Zen Master

Top 500 Contributor
Posts 4

Indeed it was a version issue. My bad.

Thank you!!!

Page 1 of 1 (5 items) | RSS
Powered by Community Server (Non-Commercial Edition), by Telligent Systems