videos with varying duration: presentation and erasing


Author
Message
rouge
rouge
Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)
Group: Forum Members
Posts: 32, Visits: 73
Dear readers,


at the moment I am writing a program with following features:
1. the subject is presented a string of letters/numbers, which shall be remembered
2. a video is presented that should be evaluated
3. after the video presentation, the string of letters/numbers shall be written down

What I am struggling about is following:
after the video stimuli are played, I want them to to be erased. However, the videos´ durations vary.
Meaning, I can´t just program a timeout.
Additionaly, whileeach video scene is erased after finishing, a question about the video scene shall be shown (I do not want to present the question while the video scene is still presented).
How do I manage to erase the video frame and to present my question simultaneously?

Thank you very much in advance for your help! And best greetings!

This is what I have so far:

<item numberstring>
/1="V98PYXGX"
/2="4XU01AT8"
/3="AVLWVW7W"
/4="VIT4HXW7"

</item>

<item Videos_kein_Tor>
/1="Video_2.mp4"
/2="Video_3.mp4"
</item>

<item Videos_Tor>
/1="Video_55.mp4"
/2="Video_57.mp4"
</item>

<text fixation>
/ items = ("+")
</text>

<text mask>
/ items = ("                   ")
</text>

<text numberstring>
/ items = ("V98PYXGX", "4XU01AT8", "AVLWVW7W", "VIT4HXW7")
</text>

<text Frage_Tor_kein_Tor>
/ items = ("Tor oder kein Tor?")
/ size = (450,200)
/ txcolor = (50, 50, 255)
/ valign = bottom
</text>

<text Entscheidung_Manipulation>
/ items = ("Entscheiden Sie sich jetzt!")
/ size = (450,200)
/ txcolor = (50, 50, 255)
/ valign = center
</text>

<text Zeichen_Tor>
/ items = ("Tor^^(Taste A)")
/ size = (450,200)
/ txcolor = (50, 50, 255)
/ position = (25, 90)
</text>

<text Zeichen_kein_Tor>
/ items = ("Tor^^(Taste L)")
/ size = (450,200)
/ txcolor = (50, 50, 255)
/ position = (75, 90)
</text>

<text recalltext>
/ items = ("Bitte schreiben Sie jetzt die zu erinnernde Serie aus Buchstaben und Zahlen in korrekter Reihenfolge auf!")
/ valign = top
</text>

<video Videos_kein_Tor>
/ items = Videos_kein_Tor
/ size = (30%, 30%)
/ playthrough = true
/ valign = center
</video>

<video Videos_Tor>
/ items = Videos_Tor
/ size = (30%, 30%)
/ playthrough = true
/ valign = center
</video>

<trial displaynumberstring>
/ stimulustimes =  [0=fixation; 1000=numberstring]
/ validresponse = (noresponse)
/ trialduration = 5000
</trial>

<trial playvideo_kein_Tor>
/ stimulustimes = [0=fixation; 1000 = Videos_kein_Tor; 1000=Entscheidung_Manipulation; 1000=Zeichen_Tor; 1000=Zeichen_kein_Tor]
/ validresponse = (a, l)
/ correctresponse = (a)
</trial>

<trial playvideo_Tor>
/ stimulustimes = [0=fixation; 1000 = Videos_Tor; 1000=Entscheidung_Manipulation; 1000=Zeichen_Tor; 1000=Zeichen_kein_Tor]]
/ validresponse = (a, l)
/ correctresponse = (l)
</trial>

<trial Entscheidung>
/ stimulustimes = [0=Entscheidung_Manipulation; 0=Zeichen_Tor; 0=Zeichen_kein_Tor]
/ validresponse = (a, l)
</trial>

<openended recallnumberstring>
/ stimulustimes = [0=recalltext]
/ validresponse = (anyresponse)
/ iscorrectresponse = [openended.recallnumberstring.response == text.numberstring.currentitem]
/ position = (50%, 70%)
</openended>

<block myblock>
/ trials = [1,4,7=noreplace(displaynumberstring); 2,5,8=noreplace(playvideo_kein_Tor, playvideo_Tor); 3,6,9=recallnumberstring]
/ preinstructions = (Instruktion_1, Instruktion_2, Instruktion_3)
/ postinstructions = (thank_you)
</block>

<page Instruktion_1>
^^txxx
</page>

<page Instruktion_2>
^^xxx
</page>

<page Instruktion_3>
^^xxx
</page>

<page thank_you>
^^xxx
</page>







GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search