I can't find my typo- random noreplace videos not changing videos


Author
Message
vlw0045
vlw0045
Partner Member (816 reputation)Partner Member (816 reputation)Partner Member (816 reputation)Partner Member (816 reputation)Partner Member (816 reputation)Partner Member (816 reputation)Partner Member (816 reputation)Partner Member (816 reputation)Partner Member (816 reputation)
Group: Forum Members
Posts: 12, Visits: 71
Hello,

Apologies for the potentially really easy question, but I can't seem to find my error in my script. I'm trying to show 8 videos, selected from a list at random, and have pp answer questions about each. I've gotten the script to run, but it just plays the same video (the first one) 8 times, instead of playing the 8 videos on time each at random. I'm sure there's a typo somewhere that's causing the computer to get confused, but I think I need to learn a little more to figure it out. I've copied and pasted a section of the code below:

q---------------------------------------------
EXPERIMENT
---------------------------------------------
<expt UNTUABSTAND1>
/ blocks = [1=Consent; 2=ParCode; 3=PatientVideoInstructions; 4-11=myblockMac; 12=ClosingScreen]
/ groupassignment = random
</expt>

<defaults>
/ fontstyle = ("Cambria")
/ screencolor = (209,203,199)
/ windowsize = (100,90)
</defaults>

...


--------------------------------------------------------------------------
PAGE: VIDEOS (MAC-)
-------------------------------------------------------------------------
<block myblockMac>
/ trials = [1=ptvideoMac; 2=RatingPageVideoMac]
/ screencolor = (209, 203, 199)
</block>

<picture personMac>
/ items = ("BL.jpg", "DN.jpg", "AR.jpg", "DL.jpg", "AD.jpg", "CH.jpg", "CT.jpg", "JE.jpg")
/ select = noreplace
/ resetinterval = 0
/ selectionrate = block
/ position = (85%, 50%)
</picture>

************************************************

<block ptvideosMac>
/ trials = [1=ptvideoMac]
/ screencolor = (209,203,199)
</block>

<trial ptvideoMac>
/ stimulusframes = [1=ptvideoMac]
/ validresponse = (anyresponse)
/ correctresponse = (noresponse)
/ timeout = 1000
</trial>

<video ptvideoMac>
/ items = ("WhiteMaleBL0925.mov", "WhiteMaleDN1003.mov", "BlackMaleAR0925.mov", "BlackMaleDL0121.mov", "WhiteFemaleAD0628.mov", "WhiteFemaleCH1206.mov", "BlackFemaleCT1213.mov", "BlackFemaleJE0103.mov")
/ playthrough = true
/ select = noreplace
/ resetinterval = 0
/ selectionrate = block
/ select = picture.personMac.currentindex
/ position = (50%, 45%)
/ size = (50%, 50%)
</video>

Thank you in advance for your time.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
vlw0045 - 9 Years Ago
Dave - 9 Years Ago
vlw0045 - 9 Years Ago
Dave - 9 Years Ago
vlw0045 - 9 Years Ago
                         I don't know how to make this any clearer.: <video ptvideoMac>...
Dave - 9 Years Ago
                             Your patience is greatly appreciated because you most definitely made...
vlw0045 - 9 Years Ago
                                 No need to apologize, I was just running out of ways to re-phrase the...
Dave - 9 Years Ago
                                     I hadn't noticed I was missing the video for TC- and I even checked!!!...
vlw0045 - 9 Years Ago
                                         Sounds like it should be working as intended now. Great! More...
Dave - 9 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search