﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » problem selecting video to play (as feedback) contingent of subject response</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 25 Jun 2026 13:30:44 GMT</lastBuildDate><ttl>20</ttl><item><title>problem selecting video to play (as feedback) contingent of subject response</title><link>https://forums.millisecond.com/Topic16982.aspx</link><description>Hi,&lt;br/&gt;I have modified the Iowa Gambling Task to present reinforcing feedback cues (sound and video) on win trials, depending on the deck selected. &amp;nbsp;There is no problem presenting a specific sound or picture file, depending on the deck selected, e.g.:&lt;br/&gt;/ ontrialend = [ if (trial.igt.response == "deck1") {picture.deck1.item.1 = "deckon.jpg"; sound.bigwin.item.1 = "Bigwin.wav";}]&lt;br/&gt;/ ontrialend = [ if (trial.igt.response == "deck3") {picture.deck1.item.1 = "deckon.jpg"; sound.bigwin.item.1 = "Smallwin.wav";}]&lt;br/&gt;&lt;br/&gt;However, this does not work for video files. &amp;nbsp;If I use the same syntax as above, i.e. :&lt;br/&gt;/ ontrialend = [ if (trial.igt.response == "deck1") {picture.deck1.item.1 = "deckon.jpg"; sound.bigwin.item.1 = "Bigwin.wav"; video.vid1.item.1 = "face money.gif";}]&lt;br/&gt;/ ontrialend = [ if (trial.igt.response == "deck3") {picture.deck3.item.1 = "deckon.jpg"; sound.bigwin.item.1 = "Smallwin.wav"; video.vid1.item.1 = "face money1.gif";}]&lt;br/&gt;with the the stimulus frame called during trial feedback being vid1, vid1 fails to be set to the video file in quotes. &amp;nbsp;If I change the syntax to video.vid1.items = "face money.gif" and video.vid1.items = "face money1.gif", the video files are presented randomly, not according to the specified contingency.&lt;br/&gt;&lt;br/&gt;I would very much appreciate some help with this!&lt;br/&gt;&lt;br/&gt;</description><pubDate>Thu, 20 Aug 2015 11:38:43 GMT</pubDate><dc:creator>cherkaso</dc:creator></item><item><title>RE: problem selecting video to play (as feedback) contingent of subject response</title><link>https://forums.millisecond.com/Topic16993.aspx</link><description>Great thank you, that works!</description><pubDate>Thu, 20 Aug 2015 11:38:43 GMT</pubDate><dc:creator>cherkaso</dc:creator></item><item><title>RE: problem selecting video to play (as feedback) contingent of subject response</title><link>https://forums.millisecond.com/Topic16983.aspx</link><description>The proper way to do this is something along the lines of&lt;br/&gt;&lt;br/&gt;&amp;lt;video vid1&amp;gt;&lt;br/&gt;/items = videoitems&lt;br/&gt;/ select = values.video&lt;br/&gt;&amp;lt;/video&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item videoitems&amp;gt;&lt;br/&gt;/ 1 = "face money.gif"&lt;br/&gt;/ 2 = "face money1.gif"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ video = 1&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;with &lt;br/&gt;&lt;br/&gt;/ ontrialend = [ if (trial.igt.response == "deck1") {picture.deck1.item.1 = "deckon.jpg";...; values.video = 1;}]&lt;br/&gt;/ ontrialend = [ if (trial.igt.response == "deck3") {picture.deck3.item.1 = "deckon.jpg"; ...; values.video = 2;}]</description><pubDate>Tue, 18 Aug 2015 17:56:57 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>