The video element defines a set of video items and controls how they are displayed.
<video videoname>
/ animation = circle(duration, loopcount, start, end, xcenter, ycenter, radius) or path(duration, loopcount, x1, y1, x2, y2, x3, y3, ...) or points(duration, loopcount, x1, y1, x2, y2, x3, y3, ...) or size(duration, loopcount, startwidth, startheight, scale1, scale2, scale3, ...) or rotation(duration, loopcount, degrees1, degrees2, degrees3, ...)
/ dropposition = (x value, y value) or (x constant, y constant)
/ dropsource = value or boolean
/ droptarget = property or boolean
/ erase = true(red value, green value, blue value) or true(color value) or true(color name) or false
/ halign = alignment
/ height = numeric expression
/ hposition = x expression
/ items = itemname or ("item", "item", "item",... ) or ("path", "path", "path",... )
/ monitor = integer
/ onanimate = [expression; expression; expression; ...]
/ onprepare = [expression; expression; expression; ...]
/ playthrough = boolean
/ position = (x value, y value)
/ resetinterval = integer
/ rotation = degrees
/ scale = factor
/ select = integer or selectionmode or selectionmode(pool) or dependency(stimulusname) or dependency(listname) or listname
/ size = (width variable, height variable)
/ stream = boolean
/ valign = alignment
/ vposition = y expression
/ width = numeric expression
</video>
video.videoname.bottom
video.videoname.currentindex
video.videoname.currentitem
video.videoname.currenttime
video.videoname.currentvalue
video.videoname.dropsource
video.videoname.droptarget
video.videoname.dropx
video.videoname.dropy
video.videoname.erase
video.videoname.erasecolorblue
video.videoname.erasecolorgreen
video.videoname.erasecolorred
video.videoname.height
video.videoname.heightpct
video.videoname.heightpx
video.videoname.hposition
video.videoname.isplaying
video.videoname.itemcount
video.videoname.items
video.videoname.left
video.videoname.loop
video.videoname.monitor
video.videoname.name
video.videoname.nextindex
video.videoname.nextvalue
video.videoname.playthrough
video.videoname.resetinterval
video.videoname.right
video.videoname.rotation
video.videoname.scale
video.videoname.selectedcount
video.videoname.skip
video.videoname.stimulusonset
video.videoname.timestamp
video.videoname.top
video.videoname.typename
video.videoname.unselectedcount
video.videoname.vposition
video.videoname.width
video.videoname.widthpct
video.videoname.widthpx
video.videoname.xpct
video.videoname.xpx
video.videoname.ypct
video.videoname.ypx
video.videoname.appenditem
video.videoname.clearitems
video.videoname.insertitem
video.videoname.item
video.videoname.removeitem
video.videoname.resetselection
video.videoname.setitem
The video element determines how video files are selected on each trial (e.g. randomly, in sequence, etc.) and how those items should be presented. Inquisit can display a variety of different streaming formats, including asf, vod, mpeg-1, mpeg-2, mpeg-3, mpeg-4, avi, midi, mov, wav, snd, au, and aiff, animated gifs, and Adobe Flash animations. Note that not all video file containers and codecs are supported on all platforms. To present videos that will work on both Mac and Windows, use mpg file containers with the MPEG2 codec format, or use conditional include elements to select *.wmv versions of your videos on Windows and *.mov versions for Mac.
The following randomly selects from 3 video files and displays the video on the upper left quadrant of the screen. Responding is not permitted until the video clip is finished.
<video tvshows>
/ items = ("desparatehousewives.mpg", "thedailyshow.avi", "southpark.wmv")
/ playthrough = true
/ position = (25, 25)
</video>